Windows Task Scheduler - Run Action when Process (EXE) is NOT running
I have an exe, that starts when Windows Server 2008 SP2 is booting. It runs all the time and performs an important task (fetching mail for exchange). With the help of the Windows Task Scheduler I want to check if this process is still running. What trigger do I choose? Or might there be some workaround with a batch program?
Solution 1:
One option may be to have it run on an interval, perhaps every 15 minutes, and on the Settings tab, configure "If the task is already running" for "Do not start a new instance". That way you can ensure it would be no longer than 15 minutes if it stops running.