[Cubicweb] Set up a looping task in cubicweb
florent at secondweb.fr
Sat Dec 12 22:49:46 CET 2009
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
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...
More information about the Cubicweb