Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
7090 Lượt xem


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

Ảnh đại diện
Huỷ bỏ

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.

Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 24
5277
0
thg 6 23
2121
7
thg 7 25
50451
0
thg 12 24
1315
ODOO.sh Đã xử lý
2
thg 10 24
13204