On Friday 01 June 2001 10:12, Aravinda Addala wrote:
> Hi,
>
> I read the documentation. We can trigger this service on an user action.
> But, I have to automatically start this job when I restart my application.
>
> Is there any place where I can mention a particular action to be called
> when I start my application?
>
I think that all you need to do is save the job and then it will be started
the next time you start your application. So for the example on the web
page, after your do:
JobEntry je = new JobEntry(second,minute,hour,weekday,dom,task);
je.setEmail(email);
then do:
je.save();
and it will be saved to the database and used the next time turbine is
started (provided that you have set scheduler.enabled=true)
John
--
********************************
** John Thorhauer
** [EMAIL PROTECTED]
** take a look at:
** http://tambora.zenplex.org
** http://www.zenplex.org
** http://www.zenplex.com
********************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]