CodeMazeGuides icon indicating copy to clipboard operation
CodeMazeGuides copied to clipboard

CM-1102: How to Prevent a Hangfire Job From Running When it is Already Active

Open sswietoniowski opened this issue 1 year ago • 0 comments

Provided an example solution based on the following:

https://timdeschryver.dev/blog/prevent-a-hangfire-job-from-running-when-it-is-already-active

Also used:

https://code-maze.com/hangfire-with-asp-net-core/ https://code-maze.com/aspnetcore-different-ways-to-run-background-tasks/ https://code-maze.com/chsarp-the-differences-between-quartz-net-and-hangfire/

https://codewithstyle.info/real-bug-story-long-running-jobs-hangfire/ https://discuss.hangfire.io/t/how-do-i-prevent-creation-of-duplicate-jobs/1222/5 https://gist.github.com/odinserj/a8332a3f486773baa009

sswietoniowski avatar Jun 15 '24 19:06 sswietoniowski