On Sat, 04 Aug 2007 08:27:05 +0000, Rohan wrote: > Hello, > I would like my script to run once a week with out any external > interference. > More like a timer. Can it be done in python or should some other shell > scripting be used. > If anyone knows anything please let me know.
`cron` should be your way to go, IMO. `/etc/cron.weekly/` might be a starting point (copy your script into this directoy). And, yes, it can be done using pure Python (but I wouldn't do it). See `threading.Timer <http://docs.python.org/lib/module- threading.html#l2h-3422>`_. -- http://mail.python.org/mailman/listinfo/python-list