Shell_exec php with nohup
参考
https://stackoverflow.com/questions/4929827/shell-exec-php-with-nohup
红色部分为关键点。
nohup /usr/bin/php /mytask/task1.php >/mytask/nohup/task1.log 2>&1 &
posted on 2019-12-26 12:12 coffee 阅读(383) 评论(0) 收藏 举报
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。