Wood Chen

Configuring Process Supervision and Scheduled Tasks for Lsky Pro and Dujiaoka in 1panel

0 comments130 views74 words

This post was translated from Chinese by AI. If anything reads oddly, the Chinese original is authoritative. 中文原文

Original: https://q58.club/t/topic/149​

Dujiaoka

  1. Create a new process supervisor
  2. Set any name you like
  3. Set the startup user to root​
  4. Set the working directory to your website directory: /opt/1panel/apps/openresty/openresty/www/sites/你的网址/index​
  5. Set the startup command to
    docker exec 你的php容器名称 php /www/sites/你的网址/index/artisan queue:work
    
  6. Click Confirm

​image (14).webp​

Lsky Pro

The process is the same Only the command is different

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

​image|689x148​

Scheduled Tasks

I'll use Lsky Pro as an example here

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

​image|690x493​

Last updated 2025-03-17

Related posts

Comments 0