Programmatically discover when a web process is scheduled to recyc

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,823
Latest member
Nadia88

Latest Threads

Top