Reputation: 1174
I want a cron job (or a combination of 2 jobs) which fires at 00:00, 01:30, 03:00 and so on for all day. What can be the most succinct way to write the expression?
Upvotes: 1
Views: 3401
Reputation: 310
you need to split it into 2 jobs since it is an odd frequency
0 0-21/3 * * * command
30 1-22/3 * * * command
Upvotes: 3
Reputation: 240908
Use following cron expression to configure your cron trigger
0 0/30 0,23 * * ?
Also See
Upvotes: 0