• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

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

  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

You will always be treated with dignity. Now, strip naked, get on the probulator and hold this tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic