Thursday, February 11, 2010

Schedule windows to close a program

On windows If we need to close a program (maybe a java) at a certain time , use this command :

at 13:29 taskkill /F /IM 6976

6976 is the process id (you can find it on task manager - processes tab. If not seen , than on the top menu choose View-Select Coloumns and mark PID (processID) )

to cancel all scheduled commands

at /delete

you need to open cmd window as administrator to run at command. (startMenu-accessories right click on command window and choose "run as admin"

hop this helps.

No comments: