Quartz for asp.net gets killed by iis server

空扰寡人 提交于 2019-12-24 15:56:41

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!