Il giorno 08/lug/2011, alle ore 18.14, Francisco Costa ha scritto:
>> Hardo to say. 0.9.7 branch is now obsolete, and a lot of fix has been
>> added to signal framework in 0.9.8. If you want to manage timer reliably
>> you should use the latest tip (it is really the 0.9.8.2 release, i am only
>>
> Hardo to say. 0.9.7 branch is now obsolete, and a lot of fix has been
> added to signal framework in 0.9.8. If you want to manage timer reliably
> you should use the latest tip (it is really the 0.9.8.2 release, i am only
> waiting for a last patch before release)
>
> --
> Roberto De Iorishttp://
>> I do not know if it is pertinent with the topic, but uWSGI has tons of
>> (cheap, very cheap compared with solutions like celery) facilities to
>> allow this sort of tasks:
>>
>> http://projects.unbit.it/uwsgi/wiki/Decorators
>
> I have uwsgi-0.9.7.1 installed
> is it compatible with uwsgi deco
> I do not know if it is pertinent with the topic, but uWSGI has tons of
> (cheap, very cheap compared with solutions like celery) facilities to
> allow this sort of tasks:
>
> http://projects.unbit.it/uwsgi/wiki/Decorators
I have uwsgi-0.9.7.1 installed
is it compatible with uwsgi decorators?
> This loops every 5 seconds regardless of how long the remainder of the
> loop
> takes (as long as it is somewhat less than 5 seconds)
>
> from time import time, sleep
>
> next_time = time()+5
> while True:
> sleep(next_time-time())
> next_time+=5
> # ...
>
>
I do not know if it is p
This loops every 5 seconds regardless of how long the remainder of the loop
takes (as long as it is somewhat less than 5 seconds)
from time import time, sleep
next_time = time()+5
while True:
sleep(next_time-time())
next_time+=5
# ...
Cheers,
John La Rooy
On Mon, Jul 4, 2011 at 10:5
Compatible yes but we do not have a simple API to use it. I promised
we would have an API for it by the end of August if not sooner.
On Jul 4, 4:06 pm, Francisco Costa wrote:
> Is Celery compatible or easy to use with web2py?
>
> On Jul 4, 6:35 pm, Mengu wrote:
>
>
>
>
>
>
>
> > go ahead and use
Is Celery compatible or easy to use with web2py?
On Jul 4, 6:35 pm, Mengu wrote:
> go ahead and use celery.
>
> On Jul 4, 3:47 pm, Valter Foresto wrote:
>
>
>
>
>
>
>
> > It is possible to call from inside WEB2PY a 'short user function' based on
> > time tick periodically (like any 0.05 ... 5 se
go ahead and use celery.
On Jul 4, 3:47 pm, Valter Foresto wrote:
> It is possible to call from inside WEB2PY a 'short user function' based on
> time tick periodically (like any 0.05 ... 5 seconds) ?
>
> This functionality can be very usefull to collect data from the field (for
> example from equ
You should run a background process that does it
white True:
sleep(5)
On Jul 4, 7:47 am, Valter Foresto wrote:
> It is possible to call from inside WEB2PY a 'short user function' based on
> time tick periodically (like any 0.05 ... 5 seconds) ?
>
> This functionality can be very
10 matches
Mail list logo