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


Groups > comp.lang.python > #39402

Re: Python scheduler

References <CAOF-KfhhLQH5ioyw-eMdQywTSe=i2=XYCKpTh_CHkW6uDAXXyg@mail.gmail.com>
Date 2013-02-20 23:35 -0800
Subject Re: Python scheduler
From Chris Rebert <clp2@rebertia.com>
Newsgroups comp.lang.python
Message-ID <mailman.2144.1361432159.2939.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python scheduler Chris Rebert <clp2@rebertia.com> - 2013-02-20 23:35 -0800

csiph-web