码迷,mamicode.com
首页 > Web开发 > 详细

Shell_exec php with nohup

时间:2019-12-26 13:11:43      阅读:100      评论:0      收藏:0      [点我收藏+]

标签:style   color   https   ons   php   exe   关键点   tps   bsp   

参考

https://stackoverflow.com/questions/4929827/shell-exec-php-with-nohup

红色部分为关键点。

nohup /usr/bin/php /mytask/task1.php >/mytask/nohup/task1.log 2>&1 &

 

Shell_exec php with nohup

标签:style   color   https   ons   php   exe   关键点   tps   bsp   

原文地址:https://www.cnblogs.com/coffee_cn/p/12101364.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!