Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4339 Näkymät

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!

Avatar
Hylkää

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)

Paras vastaus

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.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
syysk. 23
11940
1
marrask. 21
11926
0
lokak. 24
2365
1
elok. 24
5289
0
toukok. 21
3744