mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:49:25 +08:00
Update crontab.py
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user