|
|
@@ -79,7 +79,8 @@ if (!$wd) {
|
|
|
$des_str = [',', ',', ',', ',', ',', ','];
|
|
|
$wd = str_replace($origin_str, $des_str, $wd);
|
|
|
$deep=$_REQUEST['deep']?:1;
|
|
|
- echo $cmd=sprintf("nohup /usr/local/php7.2/bin/php /home/wwwroot/wyt.phplife.net/cli.php %s %s > /home/wwwroot/wyt.phplife.net/wangyating.log &",$wd,$deep);
|
|
|
+// echo $cmd=sprintf("nohup /usr/local/php7.2/bin/php /home/wwwroot/wyt.phplife.net/cli.php %s %s > /home/wwwroot/wyt.phplife.net/wangyating.log &",$wd,$deep);
|
|
|
+ $cmd=sprintf("/usr/local/php7.2/bin/php /home/wwwroot/wyt.phplife.net/cli.php %s %s",$wd,$deep);
|
|
|
$str= shell_exec($cmd);
|
|
|
echo "任务提交成功!";
|
|
|
// echo "完成,总耗时".$second."秒";
|