Is there a way of detecting when an IIS (6 or 7.0) Application Pool starts up (or indeed shuts down) or is manually recycled via IIS Manager ?
This isn't required in II7.5 due to its Application Initialisation module.
But I need to know if an application pool shuts down, so i can restart it. and when it starts up do a warmup on the web application on that pool.
I wondered if it would be possible to watch for events in the server log using the scheduler, but I cant locate log entries when the app pool is manually shutdown.
I realise that there may be cases where the app pool fails catastrophically and doesnt log.
Thanks