update 6.5.1

This commit is contained in:
jose
2019-11-22 16:55:21 +08:00
parent 5217c1fc78
commit 382daa375a
91 changed files with 5733 additions and 2661 deletions
+2 -2
View File
@@ -419,8 +419,8 @@ echo "--------------------------------------------------------------------------
def StartTask(self,get):
echo = public.M('crontab').where('id=?',(get.id,)).getField('echo');
execstr = public.GetConfigValue('setup_path') + '/cron/' + echo;
os.system('chmod +x ' + execstr)
os.system('nohup ' + execstr + ' >> ' + execstr + '.log 2>&1 &');
public.ExecShell('chmod +x ' + execstr)
public.ExecShell('nohup ' + execstr + ' >> ' + execstr + '.log 2>&1 &');
return public.returnMsg(True,'CRONTAB_TASK_EXEC')
#获取计划任务文件位置