I can’t figure out why the last execution, and therefore the next execution, of my recurring job is scheduled in the future.
This is the code used when our web app starts:
RecurringJob.AddOrUpdate("syncMissedJobs", () => EnqueueMissedJobs(), Cron.Minutely, TimeZoneInfo.Utc, "failurewatcher");
This is using:
Hangfire.Core 1.7.9
Hangfire.Pro 2.2.2
Hangfire.Pro.Redis 2.7.2
Running on IIS with .NET Framework 4.5
About 30 machines are running against this instance of Hangfire on average, and each restarts roughly once every 8 hours.