On Dec 4, 2004, at 14:24, Dave S wrote:

OK I may be pushing it,  ;-)

I need a script to sleep from any point to 8:05AM when in needs to re-start.

So I calculate the number of seconds with the following ....

IMO, instead of doing this you should use cron to make your script start at 08:05. It's probably cleaner.
(and yes, there are some versions of cron for Windows -- I don't know where they can be found, but I used one called nnCron Lite at my job this summer)


-- Max
maxnoel_fr at yahoo dot fr -- ICQ #85274019
"Look at you hacker... A pathetic creature of meat and bone, panting and sweating as you run through my corridors... How can you challenge a perfect, immortal machine?"


_______________________________________________
Tutor maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to