exec php函数转到后台运行
nohup linux 系统命令
exec('nohup /usr/local/php/bin/php -f crons.php QuestionPush ' . $quesPKid . ' > /tmp/push.log 2>&1 &');
exec php函数转到后台运行
nohup linux 系统命令
exec('nohup /usr/local/php/bin/php -f crons.php QuestionPush ' . $quesPKid . ' > /tmp/push.log 2>&1 &');