Thank you for your answer. I am not very interested in importing more dependencies even though I know those projects you mention are great (I really like Erlang..). Anyway you gave me an idea that could solve it. Implement a "messaging system" in web2py by keeping a table with those contents as "flags" that would be cyclically verified by the workers... that could work...
Thanks On Thursday, 12 April 2012 18:06:46 UTC+1, Wikus van de Merwe wrote: > > If all what you need is to report th task progress, you could periodically > write the amount of work done to db from within the task. Then query db > asynchronously with ajax to show it to the user. This could be done by > extending the "scheduler_run" table. > > I'm not sure if there is a way to stop a running task. I guess you would > have to kill the worker process to do that. Pause/resume would be even more > difficult as the state of a task have to be stored. Probably it would be > easier to do using a task queue framework such as Celery [1] or > implementing your own queue using e.g. RabbitMQ [2]. > > [1] http://celeryproject.org/ > [2] http://www.rabbitmq.com/tutorials/tutorial-two-python.html > > >

