Update crontab.py

pull/817/head
dami 1 day ago
parent bb41f89d44
commit 5e9e11694d
  1. 2
      web/utils/crontab.py

@ -526,7 +526,7 @@ echo "--------------------------------------------------------------------------
sys_name = mw.getOsName()
if sys_os == 'darwin':
file = '/etc/crontab'
elif sys_os.startswith("freebsd"):
elif sys_name.startswith("freebsd"):
file = '/var/cron/tabs/root'
elif sys_name.startswith("ubuntu"):
file = '/var/spool/cron/root'

Loading…
Cancel
Save