I found nothing in C1 logs. And there are no Hangfire logs. Can I use C1 Log as Hangfire's 3rd party logger?
The problem, it seems like Hangfire misses the events. I have no problem with Enqueue() method. My generic void Debug.Break() function won't be executed either.
The problem, it seems like Hangfire misses the events. I have no problem with Enqueue() method. My generic void Debug.Break() function won't be executed either.
BackgroundJob.Schedule(() => my.Maillist.CreateTasksFromMessage(mesaj.Id), span); // Adds a timed job
BackgroundJob.Enqueue(() => my.Maillist.CreateTasksFromMessage(mesaj.Id)); // Sends message in a blink
BackgroundJob.Schedule(() => my.Utils.Debug.Break(), span); // VS IDE breakpoint that never hits
//my.Maillist.CreateTasksFromMessage(mesaj.Id); // Sends immediately