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


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

Re: Python scheduler

Started byChris Rebert <clp2@rebertia.com>
First post2013-02-20 23:35 -0800
Last post2013-02-20 23:35 -0800
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 Chris Rebert <clp2@rebertia.com> - 2013-02-20 23:35 -0800

#39402 — Re: Python scheduler

FromChris Rebert <clp2@rebertia.com>
Date2013-02-20 23:35 -0800
SubjectRe: Python scheduler
Message-ID<mailman.2144.1361432159.2939.python-list@python.org>
On Wed, Feb 20, 2013 at 8:04 PM, Rita <rmorgan466@gmail.com> wrote:
> Hello,
>
> 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?

I've had a good experience with APScheduler
(http://pythonhosted.org/APScheduler/ ), although my particular
use-case was trivial, but it totally supports periodic scheduling.

Cheers,
Chris

[toc] | [standalone]


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


csiph-web