
Personally I would not recommend this approach for a couple of reasons: - You'll have a script running that does nothing but still consumes resources for those 90 minutes - Most anti-viruses would make noise about such a script. In fact if I recall correctly there was a virus that would invoke a shut down without any warning - The task scheduler was designed for precisely this sort of thing. - The task scheduler logs its operations so it is easier to debug, test, check if it fired, etc If I were you i would create a schedule for every 90 minutes and then provide the command shutdown the pc immediately as the task (provide 0 as the timeout) On Mon, Sep 7, 2009 at 4:05 PM, Odhiambo Washington <odhiambo@gmail.com>wrote:
On Mon, Sep 7, 2009 at 3:48 PM, Simon Mbuthia <simon.mbuthia@gmail.com>wrote:
Did you wait for 90 minutes?, Also check to see that wscript.exe is on your task manager's process list. I'm not sure if the Sleep method has a maximum value that it can take, which could be lower than 5400000 (90 minutes in millisec).
I've been waiting since you sent me the attachment. And yes, wscript.exe is there.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube
_______________________________________________ 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