Odoo Help


How to know if the server is still running ?

Yann Papouin
on 1/23/14, 4:31 AM 1,390 views

I'm running a cron task to compute some prices. This task is run into it's own thread via ir.cron

For developing purposes, I need to kill/restart the server and since there is no proper way to kill the running thread, is there a variable somewhere to know if the server is down/stopped ?

I would use this variable to stop my computation and terminate the thread.

On 11/17/14, 10:33 AM

You could do something like

ps aux | grep odoo

Or check whether the Odoo port 8079 is busy, Or are you looking for something like a lock-file?

On 11/17/14, 12:29 PM

not sure if this is what you require

$ sudo /etc/init.d/odoo status

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

0 follower(s)


Asked: 1/23/14, 4:31 AM
Seen: 1390 times
Last updated: 3/16/15, 8:10 AM