Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #39434 > unrolled thread

Re: Python scheduler

Started byAdam Tauno Williams <awilliam@whitemice.org>
First post2013-02-21 09:48 -0500
Last post2013-02-21 09:48 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python scheduler Adam Tauno Williams <awilliam@whitemice.org> - 2013-02-21 09:48 -0500

#39434 — Re: Python scheduler

FromAdam Tauno Williams <awilliam@whitemice.org>
Date2013-02-21 09:48 -0500
SubjectRe: Python scheduler
Message-ID<mailman.2175.1361460015.2939.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web