Programmatically discover when a web process is scheduled to recyc

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have an ASP.NET web application that runs certain tasks at a given time.

Sometimes the task is scheduled to run at a time that coincides with when
IIS is recycling an application's worker process.

This causes my web application task not to run. Is it possible to query IIS
using C# and discover when an application is scheduled to recycle it's worker
process?

This would enable me to disallow scheduling a task until after the recycle
has taken place.

Thanks very much for any help,
-Keith
 
Back
Top