I have this simple script to stop and start an application at 12:00 AM daily.
I want to schedule it, but it will not run all the commands on my script.
It kills the application, but never starts it again.
taskkill /F /IM A5ApplicationServer.exe;
Start-Sleep -s 10;
Start-Process C:\"Program Files\a5V11 ApplicationServer"\A5ApplicationServer.exe;
I am open to a different route in order to achieve this, even if it's via dos or vbscript.