rabin 7 роки тому
батько
коміт
51123f163a
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      admin/page/hardware.py

+ 1 - 1
admin/page/hardware.py

@@ -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