Advanced Scheduling in orchestrator using CRON expression

Hi,
There is a process which needs to run 4 times a day: 5am, 9.30am, 2pm and 8.30pm respectively. I found a CRON Expression : 0 0 5,9,14,20 ? * * which will run at the 0th minute i.e. at 5 am,9 am,2 & 8 pm, but not with a combination of running at 0th and 30th minute as per my requirement.

Does anyone have an idea for creating a CRON expression to define time for running at 0th and 30th minute as well?

Hello,

Use this guide, it helps a lot: http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html

But to give you the free solution: 0 0/30 5,9,14,20 ? * *
This will run every 30 minutes starting at 5, 9, 14, 20. So it will run at 5:00, 5:30, 9:00, 9:30 … you get my drift…

Gope this helps

1 Like