Hello,
I'm attempting to run the following Groovy script with the Scheduler app:
def eventLog = xwiki.getDocument("CodeTest.TestEventLog")
eventLog.setContent(eventLog.getContent() + "This is a test.")
eventLog.save()
However, this does nothing. I have scheduled the job (which is supposed to run
every 5 minutes) and triggered it manually, but it still doesn't do anything.
I also tried surrounding the code with {{groovy}}{{/groovy}}.
My cron expression is the following:
0 0/5 * * * ?
Running on XWiki Enterprise 2.1.1.
Thanks in advance.
-Joshua
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users