From 7f653d900de55afce187d29a65bde10d2bd6f43c Mon Sep 17 00:00:00 2001 From: dami Date: Thu, 11 Sep 2025 17:27:46 +0800 Subject: [PATCH] Update crontab.py --- web/utils/crontab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/utils/crontab.py b/web/utils/crontab.py index 53ac70b4d..4d4a6a97f 100644 --- a/web/utils/crontab.py +++ b/web/utils/crontab.py @@ -530,8 +530,8 @@ echo "-------------------------------------------------------------------------- file = '/etc/crontab' elif sys_name.startswith("freebsd"): file = '/var/cron/tabs/root' - elif sys_name.startswith("ubuntu"): - file = '/var/spool/cron/root' + # elif sys_name.startswith("ubuntu"): + # file = '/var/spool/cron/root' if not os.path.exists(file): mw.writeFile(file, '')