Hello All ESRI users,
I have made some customisation and enhancement to add new logging functionality in ESRI provided sample script.
With the help of this script we can also track our ArcGIS server map services and generates alerts for any stopped services.
This Script used in windows task scheduler and scheduled on give interval to start services which are failed to start after recycling time.
For info and suggestions please contact me.