What cron expression is used in Hangfire if you want to schedule job every 5 minutes from 9:00AM to 6:30PM??
I had an expression 0-30/5 9-18 * * *
Which is not working as expected…
Please suggest if any other ways to schedule this scenrio
What cron expression is used in Hangfire if you want to schedule job every 5 minutes from 9:00AM to 6:30PM??
I had an expression 0-30/5 9-18 * * *
Which is not working as expected…
Please suggest if any other ways to schedule this scenrio
Hello @ramakanth ,
I’m not sure it is possible in one cron expression you would need two of them
The first one :
*/5 9-18 * * *
and the second one
0-30/5 18 * * *
Hope it helps.
Best regards.
This tends to be helpful when you’re trying to figure out a CRON expression: https://crontab.guru/