Hi Martin,
Am 28.06.11 09:09, schrieb [email protected]:
I wonder if there is a working scheduler in lenya2.1.X like in lenya
1.2.4.
In the workflow menu there is no entry but in the site area there ist an
entry "Scheduler".
yes, there is a scheduler in the usecase module. It is not properly
integrated in the GUI, but you can easily call it from your usecase
code. Check out package "org.apache.lenya.cms.usecase.scheduling" in the
usecase module API:
http://lenya.apache.org/apidocs/2.0/modules/usecase/index.html
Usage is very simple – just call the UsecaseScheduler.schedule() method
to schedule a usecase execution, and getJobs() to get the status info
for existing jobs.
HTH,
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]