[xwiki-users] FW: Scheduler
Jean-Vincent Drean
jv at xwiki.com
Wed Dec 19 18:58:14 CET 2007
> 1) What language is used in the scheduler script? I would assume it's
> running either velocity or groovy within the xwiki engine?
Groovy only
> 2) Are $xwiki and $context available to the script?
AFAIK a stub context is passed to the job. You should be able to call
$xwiki. (need confirmation)
> 3) Is there feedback in the event of an error (like in a logfile or
> something)?
> 4) Is there a timeout associated to the script that runs, and are there any
> permission restrictions on adding the scheduler if it's going to be
> modifying document objects?
Permissions at the job level : your job page have to be saved by a
user with programming rights
(and the SchedulerPlugin will always be able to modify your jobs).
Regards,
JV.
More information about the users
mailing list