Quartznet: Quartz.Net stopped when IIS app-pool recycle

Created on 7 Jul 2014  ·  3Comments  ·  Source: quartznet/quartznet

I am using Quartz.Net in my asp.net application and we are ending up with IIS recycling and it stops working.

We hosted our application in external hosting provider, so we cannot play with config file explained http://weblogs.asp.net/scottgu/auto-start-asp-net-applications-vs-2010-and-net-4-0-series

Is there a way to automatically make the Quartz.Net alive when IIS restarted/recycled?
Tried following this http://weblog.west-wind.com/posts/2007/May/10/Forcing-an-ASPNET-Application-to-stay-alive . But not working

Most helpful comment

Hello, 2017 here. From IIS 8, there is a new feature, "Application Initialization" which can be installed server side.
https://blogs.msdn.microsoft.com/vijaysk/2012/10/11/iis-8-whats-new-website-settings/
Install the feature, and it will automatically enable preload on all of your sites.

All 3 comments

This is not an issue with Quartz it's issue with IIS and its behavior. You should try to implement one of the workarounds described in the links or constantly ping you web site to keep it alive.

Hello, 2017 here. From IIS 8, there is a new feature, "Application Initialization" which can be installed server side.
https://blogs.msdn.microsoft.com/vijaysk/2012/10/11/iis-8-whats-new-website-settings/
Install the feature, and it will automatically enable preload on all of your sites.

Thanks, I've updated FAQ with this, right there at the bottom.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ndenkha picture ndenkha  ·  14Comments

DixonDs picture DixonDs  ·  27Comments

dbraaten42 picture dbraaten42  ·  4Comments

kevinchalet picture kevinchalet  ·  7Comments

lucamazzanti picture lucamazzanti  ·  15Comments