跳至內容
選單
此問題已被標幟
1 回覆
7862 瀏覽次數

Hello Community,

    I need your help to crack down the below puzzle. I have two Odoo instances running on two difference server machines but connected to the same database. I believe both Odoo instances will execute ir_cron jobs in the database. How can I stop that?

What I am looking for is to configure only one instance of Odoo to run the ir_cron jobs.

Regards,

Rohail

頭像
捨棄
最佳答案

Hi

In Odoo each cron tasks will block the cron record preventing to be executed at the same time or more than once so you will not be able to get a cron task executed in all the servers that you have connected to the same database. The lock is at the database tuple level so do not worry about it.

Another thing is that you wanna be able to control which server instance execute crons but that it's another topic

頭像
捨棄
作者

Thanks Axel!

相關帖文 回覆 瀏覽次數 活動
1
7月 23
1617
0
5月 22
3224
0
3月 25
2606
0
11月 18
2579
0
11月 18
2280