Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
7850 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Autor

Thanks Axel!

Related Posts Odpovědi Zobrazení Aktivita
1
čvc 23
1611
0
kvě 22
3224
0
bře 25
2604
0
lis 18
2569
0
lis 18
2279