[Twisted-Python] Scheduling tasks in twisted

Jean-Paul Calderone exarkun at divmod.com
Tue Jun 27 13:04:32 EDT 2006

On Tue, 27 Jun 2006 16:49:12 +0000 (GMT), Stéphane Brault <stephane_brault at yahoo.fr> wrote:
> I'm developping servers which communicate with webservices. I need to have
> looping tasks making calls every x (x depends on the task). My communication
> code works well but I'm not sure how to add scheduled tasks. Do I have to add
> a scheduler service, if so how should i go ? Or is there another way ?

Whether or not you use a service depends on the structure of your application.
If you don't use a twisted.application.internet.TimerService, you can use a
twisted.internet.task.LoopingCall directly.


More information about the Twisted-Python mailing list