Last weekend the batches did not run, the sysadmin guy clicked on the Hangfire UI and it started responding again. Was just wondering if there was any way to check if a job has not started / get a notification somehow
I don’t know if there’s any way within Hangfire to be notified if it’s not running (it seems probably not).
You may want to use some external tool to monitor the application and send you an email if it’s not responding correctly. You would want to have this monitor a different page in the application, not the dashboard page, a page that does not require authentication; and you might even want to add some code to that page to call the Hangfire API to check on the state of the server or some of the jobs.
You can use a service like Pingdom to monitor the application if it’s reachable publicly. In our group, we use the “PA Server Monitor” application (from poweradmin.com) installed locally to monitor several of our internal web applications (and also monitor several of our servers for hardware issues and system event logs, etc.).