Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4220 Weergaven

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
Annuleer

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)

Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
sep. 23
11777
1
nov. 21
11823
0
okt. 24
2268
1
aug. 24
5174
0
mei 21
3664