Wood Chen

兰空图床 独角数卡 在1panel配置进程守护和计划任务

0 评论130 阅读95 字

原文: https://q58.club/t/topic/149​

独角数卡

  1. 新建一个进程守护
  2. 名称随便设置
  3. 启动用户是root​
  4. 运行目录是你的网站目录/opt/1panel/apps/openresty/openresty/www/sites/你的网址/index​
  5. 启动命令是
    docker exec 你的php容器名称 php /www/sites/你的网址/index/artisan queue:work
    
  6. 确认即可

​image (14).webp​

兰空图床

流程是一样的只有命令不一样

docker exec imgczl php /www/sites/img.czl.net/index/artisan queue:work --queue=emails,images,thumbnails

​image|689x148​

计划任务

这里用兰空图床做示例

php /www/sites/img.czl.net/index/artisan schedule:run >> /dev/null 2>&1

​image|690x493​

最后更新于 2025-03-17

相关文章

评论 0