C
C#6d ago
Shiv

Hangfire recurring-jobs struck in queue

Hi team , I have scheduled a hangfire job to send mail at 9 30 pm everyday. It is hosted in IIS( .net core app). For some reason it will get struck in the queue. when ever I open the dashboard , it will get automatically execute. I have set IIS startmode alwaysrunning and Idle timeout 0. I want it be up and running all the time without getting struck in queue. Please help
5 Replies
Shiv
ShivOP6d ago
@viceroypenguin | 🦋🐧 any suggestions please ?
viceroypenguin
https://stackoverflow.com/questions/781357/how-do-i-set-up-my-iis-to-keep-my-application-alive has several additional settings to change that said, i haven'nt personally touched iis in several years, and (intentionally) forgotten everything i knew about it
Shiv
ShivOP6d ago
Ok Thanks @viceroypenguin | 🦋🐧 My doubt is ,It is moving to the queue , that means something has triggered to move it to queue ...do you know what might be stopping to execute it ? It was my thought that it might be because of iis ... it might be something to do with hangfire configuration ?
viceroypenguin
keep in mind adding it to the queue doesn't mean it happened at 9:30pm. it could have happened when you went to the website (which triggered starting the app up, which triggered hangfire to look for any jobs in the past it should have run and triggering those)
Shiv
ShivOP6d ago
Oh ok got it @viceroypenguin | 🦋🐧 understood 👍
Want results from more Discord servers?
Add your server