[Cubicweb] Set up a looping task in cubicweb

Florent Cayré florent at secondweb.fr
Sat Dec 12 22:49:46 CET 2009

Hi all,

I've just seen the looping_task repo method but just do not know how to use
it: the docstring mentions "looping tasks can only be registered during
repository initialization, once done this method will fail.", so I suppose
there is a hook dedicated to this kind of initialization. Any example
someone ?

I find this solution much better than a crontab script as you have all you
need ready for you (in particular the app config and db connection), and
simply coding a python function could not be easier to perform your looping

Thanks for your help,
Florent / SecondWeb.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20091212/c006150b/attachment-0186.html>

More information about the Cubicweb mailing list