Supervisor 配置以后队列可以执行,但是任务调度不执行?

配置文件:

[program:loan_crontab]
process_name=%(program_name)s_%(process_num)02d
command=php /data/wwwroot/www.***.cn/artisan queue:work redis
autostart=true
autorestart=true
user=root
numprocs=4
redirect_stderr=true
stdout_logfile=/data/wwwroot/www.***.cn/storage/logs/queue_worker.log

[program:wanli-crontab]
process_name=%(program_name)s_%(process_num)02d
command=php /data/wwwroot/www.***.cn/artisan schedule:run
autostart=true
autorestart=true
user=root
numprocs=4
redirect_stderr=true
stdout_logfile=/data/wwwroot/www.***.cn/storage/logs/schedule_worker.log
:computer: & :coffee:
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 5
yema

我看你任务调度开了4个守护进程。你可以尝试杀掉其中的一个,手动触发Supervisor的守护。

5年前 评论

@yema 在每次重启的时候会执行一次,后面就不会执行了,这是什么原因呢?

5年前 评论
yema

任务执行的条件没满足?

5年前 评论

@yema 满足的,测试的是每五分钟查询一次

5年前 评论

有没有可能是这个问题 @Kevinvinvin
问答:Laravel 队列 不执行 什么原因?

4年前 评论
W-W (楼主) 4年前
haibin_hu (作者) 4年前
W-W (楼主) 4年前
haibin_hu (作者) 4年前

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!