队列查看命令
ps -aux|grep think
简单方式,不安装 supervisor 【不推荐】
添加命令如下
#进入到对应的项目目录
cd /data0/wwwroot/shop.meiriding.com
#执行队列命令
nohup php /data0/wwwroot/shop.meiriding.com/think queue:listen --queue shopro-high >> /tmp/shopro.output 2>&1 &
nohup php /data0/wwwroot/shop.meiriding.com/think queue:listen --queue shopro >> /tmp/shopro.output 2>&1 &