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


Groups > comp.lang.python > #39498

Re: Python scheduler

References <CAOF-KfhhLQH5ioyw-eMdQywTSe=i2=XYCKpTh_CHkW6uDAXXyg@mail.gmail.com> <1361458096.3505.1.camel@localhost>
Date 2013-02-21 19:04 -0500
Subject Re: Python scheduler
From Rita <rmorgan466@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2220.1361491492.2939.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Thanks. This is what I was looking for!


On Thu, Feb 21, 2013 at 9:48 AM, Adam Tauno Williams <awilliam@whitemice.org
> wrote:

> 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
>



-- 
--- Get your facts first, then you can distort them as you please.--

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


Thread

Re: Python scheduler Rita <rmorgan466@gmail.com> - 2013-02-21 19:04 -0500

csiph-web