[Tutor] Scheduling Python Execution

Alan Gauld alan.gauld at btinternet.com
Mon Apr 15 10:51:37 CEST 2013


On 15/04/13 06:59, Zaki Akhmad wrote:

> I'd like to execute python script for specific times. I prefer not to
> use cron, since this times will be very varies.

multiple cron jobs will be less work for your computer than running a 
long term program constantly checking times and launching your 
scripts... That's called reinventing the wheel with a square one...

There are more modern (and more efficent) replacements for cron but 
given your requirements cron still looks like the best bet.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list