Is there a way to schedule my script?

Juan Christian juan0christian at gmail.com
Wed Dec 17 14:10:54 EST 2014


I know about the schedule modules and such but they work in situations like
'run this in a X hours/minutes/seconds interval', I already have my code in
a while loop with sleep (it's a bit ugly, I'l change to a scheduler soon).

What I really want is, for example:

24/7/365
9:00 AM -> Start
11:59 PM -> Stop

9:00 AM ~ 11:50 PM -> Running
12:00 AM ~ 8:59 AM -> Stopped

I want my script to start at a given time and stop at another given time,
is that possible?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141217/4a76b2d2/attachment.html>


More information about the Python-list mailing list