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:
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.