
On Mon, Sep 7, 2009 at 12:00 PM, Philip Musyoki <pmusyoki@gmail.com> wrote:
The reason you have to combine the batch file with the Task Scheduler is because the maximum time you can set for the shutdown is 600 seconds (10 minutes), otherwise it would have been perfect to set the time to 3600 seconds (1 hour) and call the procedure every time the computer starts.
But with Vista, the delay for the shutdown after the command has been invoked can only be a maximum of 10 minutes.
So combining scheduling and this, you can simply schedule the task to run every 1 or 1.5 hours.
Too much work, but it beats the manual system.
Let me try to understand and try out Simon's option. Looks like it may be simpler. I just can't wrap my head around the instructions so far.... "Copy the script it to your startup folder or add it's path to a string value in .." - trying that now... but not sure if line wraps has mangled the contents as originally typed
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks Other services @ http://my.co.ke Other lists ------------- Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube