コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4331 ビュー

In a multi-server infrastructure, how can we make sure that all the crons are being executed only by a specific server? The results I see tells that only setting the cron-workers to zero in odoo.config is not enough, the jobs can still be routed to other servers.

Is there any way we can ensure the crons are executed through a specific server only?

Thanks!

アバター
破棄

If you didn't find any help, dig deep into the code source and debug how odoo hundle such thing (From the line odoo hundle the config file or the CLI)

最善の回答

You can try one thing,

Steps:

1) set all other servers odoo config with "max_cron_threads = 0"

2) Only update your cron server config with "max_cron_threads = 5" , as example.

I hope it will work.

アバター
破棄
関連投稿 返信 ビュー 活動
3
9月 23
11912
1
11月 21
11895
0
10月 24
2347
1
8月 24
5283
0
5月 21
3737