From 11b59cdc41f58f9c0e672fd367a262457124694e Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 28 Jun 2024 19:52:03 +0800 Subject: [PATCH] Update crontab_api.py --- class/core/crontab_api.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/class/core/crontab_api.py b/class/core/crontab_api.py index 72c114f01..4625e41aa 100755 --- a/class/core/crontab_api.py +++ b/class/core/crontab_api.py @@ -539,6 +539,10 @@ fi''' % (mw.getRunDir(),) head = head + start_head + source_bin_activate + "\n" log = '.log' + #所有 + if param['sname'] == 'ALL': + log = '' + script_dir = mw.getRunDir() + "/scripts" source_stype = 'database' if stype.find('database_') > -1: