You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a .NET 8 application running Hangfire and hosting on IIS.
After some time the application shuts down (I'm guessing because it does not get any user input).
This is really bad, because I have a scheduled task that needs to run daily.
I did everything in your documentation section to keep IIS app always running, but it does not work. documentation link
I recycle / restart app pool, but application does not wake up, it only starts when I visit "/hangfire" endpoint.
How do I make this work? I've read a workaround about making a scheduled task to hit the endpoint every hour or something, but then why use Hangfire in the first place? I am trying to get rid of task scheduler tasks.
Please help.
The text was updated successfully, but these errors were encountered:
Hi,
I made a post on your forum: https://discuss.hangfire.io/t/how-to-keep-net-8-hangfire-application-always-running-on-iis/10806
tl;dr
I have a .NET 8 application running Hangfire and hosting on IIS.
After some time the application shuts down (I'm guessing because it does not get any user input).
This is really bad, because I have a scheduled task that needs to run daily.
I did everything in your documentation section to keep IIS app always running, but it does not work. documentation link
I recycle / restart app pool, but application does not wake up, it only starts when I visit "/hangfire" endpoint.
How do I make this work? I've read a workaround about making a scheduled task to hit the endpoint every hour or something, but then why use Hangfire in the first place? I am trying to get rid of task scheduler tasks.
Please help.
The text was updated successfully, but these errors were encountered: