> AFAIK a stub context is passed to the job. You
should be able to call
$xwiki. (need confirmation)
This is kinda crucial, especially if I want the scheduler to actually do
anything in the wiki.
In my case, I'm going to be leaning on another groovy script (using
parseGroovyFromPage) in order to use some existing functionality, is
this possible?
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of Jean-Vincent Drean
Sent: 19 December 2007 17:58
To: XWiki Users
Subject: Re: [xwiki-users] FW: Scheduler
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.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users