Odoo Help


Odoo V8(uwsgi + nginx), cron jobs doesn't work, cron workers doesn't start

on 1/13/15, 3:07 AM 3,693 views

After odoo v7 cron workers spawn automatically when openerp starts so everything is fine if i start openerp as a service or with ./openerp-server command from terminal but when i start it as a uwsgi application none of my cron jobs work, so i assume uwsgi application can't spawn cron workers.

Has anyone encountered such a problem before? I searched everywhere and the only answer is adding "import cron" and cron.start_services() to wsgi.py which only works on odoo v7, on v8 there is no cron.py inside the odoo.

Any help is 



i guess no one uses cron jobs in this lovely software

on 1/13/15, 7:06 AM
On 1/13/15, 8:38 AM

Looks like you need to add these lines to your wsgi-file in order to make cron jobs work

from openerp.service.server import ThreadedServer

and after the "openerp.service.server.load_server_wide_modules()"


worked for me thanks :)

on 7/27/15, 5:25 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 1/13/15, 3:07 AM
Seen: 3693 times
Last updated: 5/4/16, 12:26 PM