scheduling events
Gerhard Häring
gh at ghaering.de
Fri Jun 20 11:20:04 EDT 2003
Michele Simionato wrote:
> I would like a python script that execute a given command at a fixed
> time (for instance, today at 15:30). It should be portable to both
> Linux and Windows. I am too lazy to look at the sched module today,
> therefore I will take my chance at c.l.p. ;) Any hints ?
The most portable and IMO best way is to let the system administrator
install a job.
The only portable pure-Python solution I know is to use time.sleep().
-- Gerhard
More information about the Python-list
mailing list