On Wed, 2013-02-20 at 23:04 -0500, Rita wrote:

> Here is what I am trying to do. (Currently, I am doing this in cron
> but i need much more granularity). I am trying to run program every 20
> secs and loop forever. I have several of these types of processes,
> some should run every 5 mins, 10 secs, 20 secs, 1 min and so forth. I
> was wondering what is the best way to do this?

If you need a scheduler - use a scheduler! :)

<https://pypi.python.org/pypi/APScheduler/>

Works great, and very flexible.


-- 
Adam Tauno Williams  GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to