I posted an example of possible use of celery with py4web (in _scaffold) 
but I am not too happy about it.

db._adapter.reconnect() should be automatic and 'apps._scaffold.tasks' 
feels clunky.

Anyway, the example shows how you can define tasks and they can import 
anything they need from the app.
Works well for me but help me test it some more.

Massimo

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/d14e7c19-1311-40e3-80b4-b5db4b39daa3%40googlegroups.com.

Reply via email to