• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is it possible to schedule a job with 2 different timings?  RSS feed

 
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a Quart job to be scheduled at two different timings.
ie First at every hour+25min and hr+55min from 8 AM till 6 PM and at 6:05, 6:25 and 6:35 PM.
We can create CRON expressions separately for those two timings as : 0 25,55 8-18 * * ? and 0 5,25,35 18 * * ?

Is there a way to create a single CRON expression that can trigger the job at both the timings mentioned in the two separate schedules?

Thanks,
Siva
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!