You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by ma...@uniklinik-freiburg.de on 2011/06/28 09:09:30 UTC
Shedule lenya 2.1.X
Hi All,
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".
Thanks for informations.
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Shedule lenya 2.1.X
Posted by ma...@uniklinik-freiburg.de.
Hi Andreas,
Thanks for your support.
Regards
Martin
Andreas Hartmann <an...@apache.org> schrieb am 28.06.2011 18:10:37:
> Von: Andreas Hartmann <an...@apache.org>
> An: user@lenya.apache.org
> Datum: 28.06.2011 18:11
> Betreff: Re: Shedule lenya 2.1.X
>
> Hi Martin,
>
> Am 28.06.11 09:09, schrieb martin.ginter@uniklinik-freiburg.de:
> > 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: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
Re: Shedule lenya 2.1.X
Posted by Andreas Hartmann <an...@apache.org>.
Hi Martin,
Am 28.06.11 09:09, schrieb martin.ginter@uniklinik-freiburg.de:
> 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: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org