我正在使用一个shell脚本运行10个php CLI进程(并行)。但是,我正试图找出如何在创建后将进程发送到背景。创建在后台运行的php cli进程
这样的事情我正在尝试。任何帮助将不胜感激。 (只是流,而不是一个真正的shell脚本)
for loop 1 to 10
php -q /home/xxx/xxx.php & // I want to send this to background one created. because it runs indefintely depending on the task it needs to do.
end for
对不起,我有很难与此有关。
'CMD&'运行'cmd'作为后台作业。 – 2013-02-14 21:12:55