|
@@ -108,29 +108,29 @@ class restart_cron_path(Load):
|
|
|
@Web.auth
|
|
|
@Web.setting
|
|
|
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 &')
|
|
|
|
|
|
class restart_sub_path(Load):
|
|
|
@Web.auth
|
|
|
@Web.setting
|
|
|
def post(self):
|
|
|
- Shell.popen('ps -ef | grep sub.py | grep -v grep |awk '{print $1}'|xargs kill -9')
|
|
|
+ Shell.popen("ps -ef | grep sub.py | grep -v grep |awk '{print $1}'|xargs kill -9")
|
|
|
|
|
|
class restart_admin_path(Load):
|
|
|
@Web.auth
|
|
|
@Web.setting
|
|
|
def post(self):
|
|
|
- Shell.popen('ps -ef | grep admin.py | grep -v grep |awk '{print $1}'|xargs kill -9')
|
|
|
+ Shell.popen("ps -ef | grep admin.py | grep -v grep |awk '{print $1}'|xargs kill -9")
|
|
|
|
|
|
class restart_front_path(Load):
|
|
|
@Web.auth
|
|
|
@Web.setting
|
|
|
def post(self):
|
|
|
- Shell.popen('ps -ef | grep front.py | grep -v grep |awk '{print $1}'|xargs kill -9')
|
|
|
+ Shell.popen("ps -ef | grep front.py | grep -v grep |awk '{print $1}'|xargs kill -9")
|
|
|
|
|
|
class restart_web_path(Load):
|
|
|
@Web.auth
|
|
|
@Web.setting
|
|
|
def post(self):
|
|
|
- Shell.popen('ps -ef | grep web.py | grep -v grep |awk '{print $1}'|xargs kill -9')
|
|
|
+ Shell.popen("ps -ef | grep web.py | grep -v grep |awk '{print $1}'|xargs kill -9")
|