The recurring job is not working as I expected.

Hi,
I created a recurring job with Hangfire that would run every 8 minutes. The first working time is 09.00 in the morning and the next working time I expect after 09.56 is 10.04. But it works at 10:00 a.m., and the next one is 10:08 a.m. What is the reason for this?

What does your CRON expression look like?

A bit old and I stumbled upon this thread. Hangfire unfortunately doesn’t support every N minutes.

Any minute that isn’t divisible by 60 would fail and its expected because the cron you think you generated:

*/8 * * * * is “every 8th minute”, not every 8minutes.

You’ll need to come up with multiple crons to achieve what you want. I have code that does this, let me know if its still needed.