Cybexion schrieb:
we try to get used with lenya 2.0 and its concepts and have some questions.
We would like to have a scheduler, that from time to time imports some date
into the CMS.
How is this possible?

Option A:
Use a (Unix) cronjob which starts a module test case.

Option B:
Extend the usecase scheduler [1] to handle recurring jobs. This should be no problem, IIRC the Cocoon scheduler allows to schedule recurring jobs.

Option C:
Use the Cocoon cron block directly.


Additionally, we would like to export static XHTML onto a named drive.
This should also be triggered by a scheduler.

The easiest way would be a cronjob which starts wget. You could also do this in Java, but I'd rather use existing tools.


How does the tasks concept work in 2.0?

It has been replaced by the usecase framework:
http://lenya.apache.org/docs/2_0_x/reference/usecase-framework/index.html

Could this be done with Lenya 2.0?

Yes, but the OS tools might be the better option in these cases.

[1] http://lenya.apache.org/apidocs/2.0/modules/usecase/org/apache/lenya/cms/usecase/scheduling/UsecaseScheduler.html

--
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]

Reply via email to