Answering my own question and adding a caution.. Looks like it is accessable; I didn't hit the "schedule" link so it naturally wasn't sending. The parseGroovyFromPage works perfectly too, btw.
As a tool for xwiki I see scheduler features giving the system a big boost in functionality. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Esbach, Brandon Sent: 20 December 2007 09:45 To: XWiki Users Subject: Re: [xwiki-users] FW: Scheduler >> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
