Update crontab_api.py

pull/445/head
midoks 2 years ago
parent 021b299b7d
commit 8260cc5f4a
  1. 2
      class/core/crontab_api.py

@ -613,7 +613,7 @@ echo "--------------------------------------------------------------------------
if not os.path.exists(file):
mw.writeFile(file, '')
conf = mw.readFile(file)
conf += str(config) + "\n"
conf = conf + str(config) + "\n"
if mw.writeFile(file, conf):
if not os.path.exists(u_file):
mw.execShell("chmod 600 '" + file +

Loading…
Cancel
Save