bat/script file that checks for running process
Posted on 2013-01-09
I am a linux admin so please bare with me....
I have a Windows Server 2003 system that has been dumped in my lap until we can replace our Windows guy who recently left. This server runs a very specific application that occasionally crashes. The problem is when this process stops it stops updating a fairly important SQL database.
What I need is a bat file, vbs script of some sort that will check if the process is running and take an action if it is not.
I would LOVE if it could send me an email if the process is not running. This is very easy using linux but I dont know if it is as easy on Windows. If that is not possible maybe it could just restart the process?