Odoo Help


This community 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 V8(uwsgi + nginx), cron jobs doesn't work, cron workers doesn't start

on 1/13/15, 3:07 AM 2,401 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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