java - scheduling different crontimers with the same job id -


How to schedule different times for the same task.

For the East: I have a job job name = "Job 1")

The difference timer in Job 1 ( 20 * * * *?) and ( 0 0/2 * * *?? )

The first timer needs to be scheduled for every 20 seconds and the second timer will be set to set the time of each 2 minute Required.

My problem is that the last timer is just scheduling.

You can set it for only 20 seconds, in this way, you have 2 minutes on the 6th trigger Must have to trigger. Or was this just an example?

Otherwise, AFAIK, you will need to create two examples.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -