This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Spring and the fly likes Sping Quartz scheduler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Sping Quartz scheduler" Watch "Sping Quartz scheduler" New topic
Author

Sping Quartz scheduler

Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 237
Hi All,
I'm trying to create a spring quartz scheduler that will trigger a job
every day between 8am and 4pm at 20min intervals.

I tried the following. It calls the job every 20min but never stops at 4pm, just keeps on calling?



Any ideas?

Mat
Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 237
Hi All,
just found out that the job will start at 8:20 and the last trigger would be 16:40. I have changed the time as follows
so that the job will now finish at 15:55



Mat
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Sping Quartz scheduler