问题
After reading this :
http://www.mikesdotnetting.com/article/254/scheduled-tasks-in-asp-net-with-quartz-net
I was quite happy i could publish a web site that would do scheduled task on itself... Or that was i tought.
We did it, and it seems like IIS servers kill quartz just like any other scheduled task programmed inside web sites...
Am i right ?
回答1:
Yes, you are right.
Basically - unless configured to do so, IIS will simply stop the application pool. Even if not, you put yourself into a corner for later growth.
The proper solution is to use an external scheduler (and possibly call a special URL to do the processing).
来源:https://stackoverflow.com/questions/37051200/quartz-for-asp-net-gets-killed-by-iis-server