Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Sping Quartz scheduler

 
Mat Anthony
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!