Is there a way in Windows to check to see if a program is running (in this case a java application) and if it isn't running (because of a crash) re-run it?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
Use PowerShell:
will return details for each process matching
(Using NB. if you need this to run frequently, then other options should also be considered (e.g. Performance Monitor alerts can launch an application, or even a custom service). |
|||||
|