I need to increase the time limit of a cron. How can I do this in odoo sh?
To pytanie dostało ostrzeżenie
2
Odpowiedzi
8922
Widoki
Hello,
Edited answer. Was overthinking it by a lot. Import the config file from odoo and override the values in a python file
from odoo.tools import config
config['limit_time_real'] = None
config['limit_time_cpu'] = None
config['limit_time_real_cron'] = None
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
1
sie 24
|
7677 | ||
|
|
0
cze 23
|
3301 | ||
|
|
7
lip 25
|
53987 | ||
|
|
0
gru 24
|
3331 | ||
|
ODOO.sh
Rozwiązane
|
|
2
paź 24
|
15563 |
Hi,
As far as I know you cannot do this. This is managed by Odoo itself and is the same for all Odoo instances running on SH.