
On Mon, Sep 7, 2009 at 9:19 AM, Philip Musyoki <pmusyoki@gmail.com> wrote:
Hi Wash
This may not be as straighforward in Windows, but there is a work aroudn that you can try.
Create a batch file somewhere in your computer (myrestart.bat). You can use Notepad to do this but make sure you save it as a .bat file so that Windows understands it is a batch file.
Type this command in the batch file: *shutdown /f /r /t 30*
Save you file. The file should just have this one command.
This means that the computer will shutdown and restart, running application will be force to close and it will do so in that minutes.
Now back to the Tast Scheduler, create tasks to call this batch file every 1.5 hours. You may have to create 16 different tasks for each shutdown/restart cycle. I am not sure there is a custom hours/minutes repeat function in the Windows Task Scheduler.
You can also do a script to do what the batch file does but I guess the batch file way is easier.
See if it works for you.
You know what, Philip? At this rate, I will just manually reboot the computer as required. Not sure why Windows is deficient on this functionality. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube