Check the Clarify Routing Service & Restart
July 10, 2007
A script for Windows that uses the native WMI interface and Windows Scripting Host to check the routing server and restart it if necessary. This script does not require MKS, and it will run on Windows 2000 and .NET servers by default, and NT 4.0 if the add on for WMI has been installed.The script loops thru installed services, and when it locates the Clarify Routing Service, it checks to see if the service is running. If not, then the script attempts to start the service, otherwise it simply exits.The script should be scheduled to run as a Scheduled Task with a high frequency.It writes entries to the event log when it attempts to start the service and when the service fails to start. http://www.dovetailsoftware.com/download/user_contributed/check_service.zipThanks to Christopher Bennage for sharing this code!