I have some long processes that takes more than 3 hours. The issue is that the job dies after approximately 3 hours, in the Hangfire dashboard it appears as succeed but I’m sure it hasn’t finished to process.
I think this might be related to the IIS but I don’t know how to fix it.
Thanks in advance
Your app probably went to “sleep” so it finished the job. I highly recommend you use hangfire as windows service (there’s a guide in documentation) or you need to make sure your app never shuts down.
I set the Idle-Timeout in the IIS pool as 0, which means never time out. I’ll let you know if that works.