Update crontab.py

This commit is contained in:
dami
2025-09-11 18:00:01 +08:00
parent 7f653d900d
commit daecb76f8e
+2 -2
View File
@@ -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, '')