Batch file to detect running program
Posted on 2011-02-23
I have a app which was written by a developer who has since lft our company. From time to time, the app decides to stop working and close without error or warning.
I was think that it might be possible to have a batch file which runs on an hourly basis which checks to see if the app is still running, if not send an alert. Ive already got the alert process sorted by using something called BLAT which is a simly little utlility which when called, sends an email to a distribution list on our exchange server.
Has anyone got a simply batch file which can check to see if a process/application is running and then call my BLAT process?
I can confirm the app is listed in the Task List and within the Applications Running Tab of the Task Manager.