Not all recurring jobs executing on their scheduled time


#1

I have Hangfire running on .NET Core 3.1 Worker Service. I’m using LiteDB for the database. When the service starts, I actually remove the LiteDB, and let Hangfire re-create the database. I then add 27 recurring jobs. Only 2 of the 27 jobs are executing. Those jobs run hourly, the others run at 3am, and some at 9pm. Looking for some help on why only 2 are working?

The bolded ones are working

These are the jobs and their cron schedule
2020-02-24 21:28:57.504 -05:00 [INF] Recurring Job: Job 1 Schedule: 0 3,21 * * *
2020-02-24 21:28:57.587 -05:00 [INF] Recurring Job: Job 2 Schedule: 0 3 * * *
2020-02-24 21:28:57.593 -05:00 [INF] Recurring Job: Job 3 Schedule: 0 3 * * *
2020-02-24 21:28:57.598 -05:00 [INF] Recurring Job: Job 4 Schedule: 0 3 * * *
2020-02-24 21:28:57.612 -05:00 [INF] Recurring Job: Job 5 Schedule: 0 3 * * *
**2020-02-24 21:28:57.620 -05:00 [INF] Recurring Job: Job 6 Schedule: 0 * * * ***
2020-02-24 21:28:57.626 -05:00 [INF] Recurring Job: Job 7 Schedule: 0 3 * * *
2020-02-24 21:28:57.631 -05:00 [INF] Recurring Job: Job 8 Schedule: 0 3 * * *
2020-02-24 21:28:57.637 -05:00 [INF] Recurring Job: Job 9 Schedule: 0 3 * * *
2020-02-24 21:28:57.643 -05:00 [INF] Recurring Job: Job 10 Schedule: 0 3,21 * * *
2020-02-24 21:28:57.648 -05:00 [INF] Recurring Job: Job 11 Schedule: 0 3,21 * * *
2020-02-24 21:28:57.656 -05:00 [INF] Recurring Job: Job 12 Schedule: 0 3 * * *
**2020-02-24 21:28:57.662 -05:00 [INF] Recurring Job: Job 13 Schedule: 0 * * * ***
2020-02-24 21:28:57.668 -05:00 [INF] Recurring Job: Job 14 Schedule: 0 3,21 * * *
2020-02-24 21:28:57.674 -05:00 [INF] Recurring Job: Job 15 Schedule: 0 3 * * *
2020-02-24 21:28:57.680 -05:00 [INF] Recurring Job: Job 16 Schedule: 0 3,21 * * *
2020-02-24 21:28:57.686 -05:00 [INF] Recurring Job: Job 17 Schedule: 0 3 * * *
2020-02-24 21:28:57.691 -05:00 [INF] Recurring Job: Job 18 Schedule: 0 3 * * *
2020-02-24 21:28:57.697 -05:00 [INF] Recurring Job: Job 19 Schedule: 0 3 * * *
2020-02-24 21:28:57.703 -05:00 [INF] Recurring Job: Job 20 Schedule: 0 3 * * *
2020-02-24 21:28:57.709 -05:00 [INF] Recurring Job: Job 21 Schedule: 0 3,21 * * *
2020-02-24 21:28:57.715 -05:00 [INF] Recurring Job: Job 22 Schedule: 0 3,21 * * *
2020-02-24 21:28:57.720 -05:00 [INF] Recurring Job: Job 23 Schedule: 0 3 * * *
2020-02-24 21:28:57.726 -05:00 [INF] Recurring Job: Job 24 Schedule: 0 3 * * *
2020-02-24 21:28:57.732 -05:00 [INF] Recurring Job: Job 25 Schedule: 0 3 * * *
2020-02-24 21:28:57.738 -05:00 [INF] Recurring Job: Job 26 Schedule: 0 3 * * *
2020-02-24 21:28:57.743 -05:00 [INF] Recurring Job: Job 27 Schedule: 0 3 * * *


#2

This appears to be a Timezone issue! Hadn’t realized the execution time by default is UTC.