Recurring Job stops running if Dashboard is closed

I’m making a web app using .NET6 and using Hangfire to create a recurring job, the recurring job is pinging an API which I’ve also made, with a GET request. I’m testing it in a live environment. I’m hosting both the web app & API on Azure, but as the title of this has stated the recurring job fails to run if the Hangfire Dashboard is not open. Have I missed a config option as going through the docs it doesn’t seem like I have.

1 Like

Update to this, I found there is an always on option on Azure which is off by default. I also enabled the Hangfire dashboard for production which also revealed an error it was was receiving.

Long story short, I fixed it.

1 Like

Recurring jobs not proper running on live server