Discussion Locked

Schedule an executable

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is there a way to schedule an executable to terminated and restarted like an NT service??? I have an exe that as to stopped restarted everyday to recognize changes in the system - how can this be done?
Thanks!

1 reply

by tprinzo

You might try creating to batch files. The first would stop the process and the second to start it back up.

Once you have them, use the "at" command to schedule the batch file to run daily at whatever time you want it to.

you can probably combine the batch files into one.

This discussion is closed to new replies.