Base solution for your next web application
Open Closed

Hangfire Background Jobs - Concurrent / Progress Tracking #8655


User avatar
0
chris.tune created

Hi All

I'm trying to achieve a few of things with background jobs:

  • Track running jobs for the user - for example an import so the user can see that it's still running, and progress(currently have a progress using signalR but would like a table).
  • Dont allow multiple jobs to run at the same time, for example, running a job which causes side effects more than once.
  • I understand there is a dont retry as well am I right in thinking this goes on the Execute method?

I dont want to have to build this out as it feels like I should be able to do this through the background job store etc.

Some design / code samples would be useful if possible :)

Thanks Chris


1 Answer(s)