|
@@ -109,7 +109,7 @@ class restart_cron_path(Load):
|
|
@Web.setting
|
|
@Web.setting
|
|
def post(self):
|
|
def post(self):
|
|
Shell.popen("ps -ef | grep cron.py | grep -v grep |awk '{print $1}'|xargs kill -9")
|
|
Shell.popen("ps -ef | grep cron.py | grep -v grep |awk '{print $1}'|xargs kill -9")
|
|
- Shell.popen('./cron.py >/dev/null &')
|
|
+ Shell.popen('/usr/local/demeter/cron.py >/dev/null &')
|
|
|
|
|
|
class restart_sub_path(Load):
|
|
class restart_sub_path(Load):
|
|
@Web.auth
|
|
@Web.auth
|