Browse Source

fix issue

develop
Prabuddha Chakraborty 9 years ago
parent
commit
e19212f1b8
  1. 5
      ee/core/cron.py

5
ee/core/cron.py

@ -1,4 +1,3 @@
from crontab import *
from ee.core.shellexec import EEShellExec
from ee.core.logging import Log
@ -14,10 +13,10 @@ class EECron():
EEShellExec.cmd_exec(self, "/bin/bash -c \"crontab -l "
"2> /dev/null | {{ cat; echo -e"
" \\\""
"\\n*/0 12 * * * "
"\\n0 12 * * * "
"{0}".format(cmd) +
" # {0}".format(comment)+
"\\\"; }} | crontab -\"")
"\\\"; } | crontab -\"")
Log.debug(self, "Cron set")

Loading…
Cancel
Save