I'm writing a .NET service that monitors application pools. based on specific triggers I'm restarting them. However, I do not want to restart them if the trigger occurred before they were recycled for the last time. How can I know the "last recycle time" of an app pool?
Determine the last time an Application Pool recycled
3.6k views Asked by Dani Fischer At
2
If the
LogEventOnRecycleproperty is set, you should be able to read this information from the event log using theEventLog Class