Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sping Quartz scheduler

 
Mat Anthony
Ranch Hand
Posts: 259
  • 0
  • 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: 259
  • 0
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic