Thanks for all your replies...' Based on the replies, I think that cron job is the best available solution, as I need to execute a pipeline, so I can use CocoonPipelineCronJob.
However I would like to know how to write a cron job that is executed only once and periodically. Having followed the documentation I noted that the cron is periodic, but I need to execute a pipeline only once after startup. Thanks Sanket On 8/8/06, David Perez <[EMAIL PROTECTED]> wrote:
Sanket Pattekar schrieb: > Hi > > Is it possible to have a custom class that runs when cocoon starts up. > Using this class I need to run call a pipeline at startup. > > This feature I need is similar to that of overriding the init() method > of any servlet. > > Sanket > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > For that purpose I have derive the CocoonServlet class and overrided the init method. In the WEB-INF/web.xml, make sure to point to your new class. Hope this helps. David. ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]