I’m scheduling jobs to execute at a later point in time. This works fine in my development environment.
However, on the production server, the jobs or somehow never enqueued after I schedule them with the BackgroundJob.Schedule method.
If I enqueue them immediately (BackgroundJob.Enqueue), they run just fine.
Jobs that fail are also supposed to retry automatically, but they never do.
I can’t figure out what is going on, since it’s working fine in my development machine but not in production.
I’m using the same hangfire version (1.4.1). I checked in the release notes to see if this is an issue that was fixed in one of the newer releases, but couldn’t find anything.
Does anybody have an idea why this is happening?