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


Groups > comp.lang.python > #39503

Re: Python scheduler

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'expressions': 0.07; 'python': 0.09; 'facts': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'url:github': 0.09; 'forth.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.17; 'trying': 0.21; 'do.': 0.21; 'for?': 0.23; 'idea': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '---': 0.26; 'wondering': 0.26; 'first,': 0.27; 'header:X-Complaints-To:1': 0.28; 'this?': 0.28; 'run': 0.28; 'asking': 0.32; 'from:addr:yahoo.co.uk': 0.32; 'to:addr:python-list': 0.33; 'doing': 0.35; 'something': 0.35; 'received:org': 0.36; 'but': 0.36; 'should': 0.36; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'several': 0.39; 'to:addr:python.org': 0.39; 'hello,': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'more': 0.63; 'here': 0.65; 'min': 0.84; 'rita': 0.91; 'forever.': 0.93; 'processes,': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Python scheduler
Date Fri, 22 Feb 2013 00:24:22 +0000
References <CAOF-KfhhLQH5ioyw-eMdQywTSe=i2=XYCKpTh_CHkW6uDAXXyg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-92-22-84-96.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
In-Reply-To <CAOF-KfhhLQH5ioyw-eMdQywTSe=i2=XYCKpTh_CHkW6uDAXXyg@mail.gmail.com>
X-Antivirus avast! (VPS 130221-2, 21/02/2013), Outbound message
X-Antivirus-Status Clean
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2224.1361492575.2939.python-list@python.org> (permalink)
Lines 29
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1361492575 news.xs4all.nl 6875 [2001:888:2000:d::a6]:32773
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:39503

Show key headers only | View raw


On 21/02/2013 04:04, Rita 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?
>
>
> Also, would Greenlet do something I am asking for?
>
>
>
> --
> --- Get your facts first, then you can distort them as you please.--
>
>

No idea what this is like https://github.com/ahawker/crython.  I quote 
"crython is a python implementation of cron which can schedule tasks 
(functions) from standard cron expressions or python objects."

-- 
Cheers.

Mark Lawrence

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


Thread

Re: Python scheduler Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-02-22 00:24 +0000

csiph-web