Quartz for asp.net gets killed by iis server

2019-07-23 12:43发布

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条回答
Root(大扎)
2楼-- · 2019-07-23 13:18

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).

查看更多
登录 后发表回答