20 Nov
2014
20 Nov
'14
9:24 a.m.
Thomas, if I start a job using jobExecutor.execute("antjob", req); it waits until the job is finished. Am 20.11.2014 09:44, schrieb Thomas Mortagne:
As indicated in the javadoc of JobExecutor all jobs are executed asychronously. You actually need to use Job#join when you want to wait.
On Thu, Nov 20, 2014 at 9:38 AM, Stefan Bernsdorf <[email protected]> wrote:
Hi, I have seen that the jobManager is deprecated since 6.1. But how would I schedule a job and return immediately using the jobExecutor? (Using the jobManager it would be something like : Job job = jobManager.addJob("jobtype", request)) Thanks , Stefan. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users