Base solution for your next web application
Open Closed

Do background workers only fire when requests to the site are made? #9210


User avatar
0
marble68 created

8.7 - jquery version - IIS 10

I setup a background worker and everything works fine, except it doesn't fire when the site is idle.

I have my app pool idle set to 0, and start mode to "Always Running".

I was expecting an email this morning and didn't receive it.

I went to the site and immediately got the email.

So background workers only fire when a request is made to the website - or is it something else?

Should I be using hangfire?

Or should I just create a windows service / console application to do these jobs?


2 Answer(s)