Right,
So let's say I'd want to access the document containing the job script
being executed ... ?
I'm trying to create jobs from a template job doc, and have their execution
parameterized by some other object attached to the job page ... But maybe
I'm not taking it the right way
2013/7/18 Sergiu Dumitriu <sergiu(a)xwiki.org>
On 07/18/2013 04:42 PM, Jeremie BOUSQUET wrote:
Hello,
I've got a very simple use-case not working with the Scheduler plugin (XE
4.5.2)
If I schedule a job containing merely:
System.out.println doc.name
... I get the following when I trigger it:
No such property: doc for class: Script1
Is it expected, not to be able to access current document from a
Scheduler
script ?
And what is the "current" document for a background job executed
automatically, periodically?
--
Sergiu Dumitriu
http://purl.org/net/sergiu
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users