跳至內容
選單
此問題已被標幟
2 回覆
7100 瀏覽次數


I need to increase the time limit of a cron. How can I do this in odoo sh?

頭像
捨棄

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.

最佳答案

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
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
8月 24
5278
0
6月 23
2123
7
7月 25
50456
0
12月 24
1320
ODOO.sh 已解決
2
10月 24
13217