I’m a newcomer to Hangfire and to ASP.NET in general but have now got things set up to run a recurrent task on my shared hosting server. As I anticipated I’ve run into the problem of my app dying at idle timeout and the Hangfire server with it. I’ve come across a number of workarounds but so far these all require configuration access to IIS beyond what I can get through my shared hosting.
I note that another solution would be to use an external “pinging” service to keep the app alive but this seems excessive and a bit clunky.
I wonder though if it might be possible to get the recurrent task to make some sort of regular “do nothing” request to the app in order to keep it alive. Any idea if this would work?