Odoo Help

Welcome!

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.

1

Why does a cron-job (ir_cron) not run after restarting server?

By
Hannes Smit
on 8/8/13, 7:30 AM 2,405 views

I have the impression that users need to log-in first to init the database in the server process. Only after the login, the cron will start to execute jobs.

We run 10+ databases on 1 OpenERP server process. After one simple restart it seems we have to log-in into every database before cronjobs start running.

Why is that? And how to overcome this?

I think, cron jobs starts runing after the server receives it's first request for page. Not after login. Please check it with a simple print button on the cron function ( in python file). Cheers!!

vivek
on 9/7/13, 3:28 AM

@HanesSmit any updates in this?

Fnordbedarf
on 11/17/14, 10:38 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

2 follower(s)

Stats

Asked: 8/8/13, 7:30 AM
Seen: 2405 times
Last updated: 6/7/16, 8:12 AM