I am using scheduler in combination with scripting to launch BC2.exe at certain times each day. While Windows Scheduler has an option to kill the job after X hours, this only kills the .bat file that started the BC2.exe process. Is there a way to tell the BC2.exe process to not run more than 24 hours and 'overlap' itself on multiple instances of the same job?
Alternatively, can you specify in the script what the BC process should be called? Right now I will have up to 8 BC2.exe processes running at once, so I have no way of knowing which one to kill. If they were uniquely named it would be very easy to just use kill.exe or something to kill the process. (Suppose I could always copy BC2.exe to BC3.exe, BC4.exe, etc)
Alternatively, can you specify in the script what the BC process should be called? Right now I will have up to 8 BC2.exe processes running at once, so I have no way of knowing which one to kill. If they were uniquely named it would be very easy to just use kill.exe or something to kill the process. (Suppose I could always copy BC2.exe to BC3.exe, BC4.exe, etc)
Comment