Hangfire does not start tasks, although they are in the database

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");
+4
source share
1 answer

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.

+4

All Articles