HangfireIO / HangfireIO/Hangfire
Recurring job executed on incorrect date
- Dominant language
- C#
- Stars
- 10.1k
- Forks
- 1.8k
- Avg merge
- 1h 19m
- Merged PRs (30d)
- 1
Description
We have a job scheduled to be run on the 10th of every month, but I was looking at our Hangfire dashboard and noticed it had run this job at midnight yesterday (i.e. Thursday 19th August 00:00). This has caused several thousand records to be created within our database that shouldn't have been.
This is how the job appears within the "Recurring Jobs" section of the dashboard:

This is the page for the job that got executed:

Is it a known issue that the job scheduler can kick off jobs at a completely different date than it's meant to?
Contributor guide
Research direction
Start with the recurring job entry in the Hangfire dashboard and compare its configured monthly schedule with the execution history shown in the issue. No source files or tests are named; determine whether the unexpected August 19 execution can be reproduced and identify what scheduling or date configuration explains it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100