[Tutor] Scheduling Python Execution
Zaki Akhmad
zakiakhmad at gmail.com
Mon Apr 15 07:59:56 CEST 2013
Hi all,
I'd like to execute python script for specific times. I prefer not to
use cron, since this times will be very varies.
Example, my requirement is, this python script will execute at:
13:00:00
14:05:00
14:35:00
15:20:00
I know this is gonna be a long script to run. Check the time.ctime()
then execute. Is designing with this approach isn't good? Since it
will be a long script running.
I've read the sched module.
And the enter module has delay argument. So is better that I calculate
the delay rather than the ctime to execute?
Regards,
--
Zaki Akhmad
More information about the Tutor
mailing list