Thanks. This is what I was looking for!<div><br><br><div class="gmail_quote">On Thu, Feb 21, 2013 at 9:48 AM, Adam Tauno Williams <span dir="ltr"><<a href="mailto:awilliam@whitemice.org" target="_blank">awilliam@whitemice.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed, 2013-02-20 at 23:04 -0500, Rita wrote:<br>
<br>
> Here is what I am trying to do. (Currently, I am doing this in cron<br>
> but i need much more granularity). I am trying to run program every 20<br>
> secs and loop forever. I have several of these types of processes,<br>
> some should run every 5 mins, 10 secs, 20 secs, 1 min and so forth. I<br>
> was wondering what is the best way to do this?<br>
<br>
</div>If you need a scheduler - use a scheduler! :)<br>
<br>
<<a href="https://pypi.python.org/pypi/APScheduler/" target="_blank">https://pypi.python.org/pypi/APScheduler/</a>><br>
<br>
Works great, and very flexible.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Adam Tauno Williams  GPG D95ED383<br>
Systems Administrator, Python Developer, LPI / NCLA<br>
<br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>--- <span>Get your facts first, then you can distort them as you please.</span>--
</div>