running a piece of code at specific intervals?

Jesse Jaggars jhjaggars at gmail.com
Wed Aug 4 16:10:47 EDT 2010


On Wed, Aug 4, 2010 at 2:44 PM, Chris Hare <chare at labr.net> wrote:
> Don't say cron :
>
> I want to have a section of my code executed at 15 minute intervals.  I am using Threading.timer, but it is causing a problem sinxe I am using sqlite3 and the thread support gives me an error, which aborts part of my code.
>
> So, is there an alternative to threading.timer?
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

Take a look at sched. http://docs.python.org/library/sched.html



More information about the Python-list mailing list