note 688 B

1234567891011121314151617181920212223242526272829303132
  1. 1
  2. cd /www/wwwroot/baxiadminproject
  3. php artisan schedule:run >> /dev/null 2>&1
  4. cd /www/wwwroot/statistics_admin
  5. php artisan schedule:run >> /dev/null 2>&1
  6. 常驻进程:
  7. php /www/wwwroot/api/artisan queue:work --sleep=12
  8. sudo supervisorctl status
  9. test git
  10. 4、常用命令
  11. 启动服务 systemctl enable supervisord
  12. 查看是否启动 systemctl is-enabled supervisord
  13. 停止服务 systemctl stop supervisord
  14. 开启服务 systemctl start supervisord
  15. 服务状态 systemctl status supervisord
  16. 重载服务 systemctl reload supervisord
  17. 重启服务 systemctl restart supervisord