App Pool Recycle Status - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

App Pool Recycle Status

jengojengo Posts: 1Member
As per attached is a .vbs file that helps check for the App Pool status as per indicated from Case 1 - 4 or otherwise reflected as unknown. However, after the status is checked, id need help to write the script to run 2 .bat files that i have created that would help trigger a mail (Ex. [COLOR="Blue"]AppPoolSucessmail.bat [/COLOR]& [COLOR="Red"]AppPoolFailure.bat [/COLOR]as per the status of the AppPool. Tentatively a comparison of status has to be done before sending the respective mail.

1) If the App pool status is 'Running'.....then trigger AppPoolSucessmail.bat

2) If the App Pool status is 'Stopped, starting or unknown' then trigger

so that as per the mail sent, if necessary, I can manually trigger the recycle.

Thanks for ur help and advice.

Sign In or Register to comment.