I have a basic .bat file to restart a service when a logfile match is found. It appears to run based on the logmon probe log file, but it is not executing any of the commands.
C:\Program Files (x86)\Nimsoft\probes\system\logmon\SVC_RESTART.bat
echo "begin SVC_RESTART script" >> scr.log
net stop "ServiceName"
net start "ServiceName"
TIMEOUT /T 5
echo "exiting SVC_RESTART script" >> scr.log