Make Hangfire always in running mode for Asp.net core

recurring
Tags: #<Tag:0x00007f499bb05b08>

#1

I am using Hangfire in Asp.net core application. I am using recurring jobs that running every 15 minutes. But after some time it stops their working. When i am enter url in browser then its again start working. I have done some google for it and found some settings are needed. I need some code stuff for Asp.net core. Please help me.


#2

You should set your IIS application pools to not shutdown.

We use PRTG to hit the Hangfire servers and the dashboards to keep them up and running. If you have a monitoring services you could do the same.

Or there is this tool which does this same thing, no monitoring.

https://portal.smartertools.com/kb/a2939/smarterping.aspx