Question Start process if closed via script

quad777

Distinguished
Nov 4, 2009
197
0
18,710
Hi all, i have an application that needs to run all the time, in the event that the application shuts down/crashes, i need it to restart automatically.
I need it to run as a process and not a service. Is there something eg. batch file/script/ app that i can use which will check up on the application every 5 - 10 mins and if the application process is not running it will automatically start it up...and if the application process is running it would just ignore and not start up a new application process.
 
Read up on Windows Task Scheduler, which has been built in to Windows "forever."

See this tutorial (step 33 under the Advanced Task instructions, with regard to your need to restart if the task stops for some reason):
How to create an automated task using Task Scheduler

There are scads of tutorials on using every feature of Task Scheduler. If the above doesn't appeal to you then have a look at any one of a number of them returned by this DuckDuckGo search: https://duckduckgo.com/?q=using+windows+task+scheduler