Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39434
| Subject | Re: Python scheduler |
|---|---|
| From | Adam Tauno Williams <awilliam@whitemice.org> |
| Date | 2013-02-21 09:48 -0500 |
| References | <CAOF-KfhhLQH5ioyw-eMdQywTSe=i2=XYCKpTh_CHkW6uDAXXyg@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2175.1361460015.2939.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Python scheduler Adam Tauno Williams <awilliam@whitemice.org> - 2013-02-21 09:48 -0500
csiph-web