I'm not sure what is happening with Hangfire, but calling BackgroundJob.Enqueue () adds the job to the database as "Scheduled", but nothing happens. The method code does not work. There are no breakpoints in the debugger, and nothing is printed in my logs from the inside.
JobStorage.Current = new SqlServerStorage("DefaultConnection");
I had a similar problem. In my case, the problem was that my dependency injection was not properly connected.
, Hangfire Dashboard -> Scheduled Jobs , , , .. " " some_interface "".
Hangfire Dashboard -> Scheduled Jobs
"" Hangfire.