The timing of the job is based on cron timing.

So you would put 12 for the hour, 2 for the minute, 56 for the second, and then for the rest of the fields you put -1.

JobEntry je = new JobEntry(56,2,12,-1,-1,"SimpleScheduledTask");

http://jakarta.apache.org/turbine/turbine-2.3/services/scheduler-service.html


Kintzel Levente wrote:
 Hi!

I have a question related to the Turbine Scheduler Service. I have written a task that will be executed periodically.
My question is how to set the fields form the database to specify that this task will be executed daily.
I didn't understand how can I:
- specify that a task will be executed after an amount of time (after 12:hours, 2:mins, 56:sec)
- secify that a task will be executed daily at 12:02:56
How can I specify in the database which of the two situation I want to use.
Can anybody help me? Thank you!


                Regards,
                  Levi



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



Reply via email to