Open HecFranco opened 5 years ago
How is the supervisor configured? in what file for symfony 4?
supervisor is not a part of symfony. http://supervisord.org/configuration.html
I have this bundle running with Supervisor and SF3.4, but it must be the same with SF4. Here you have an example configuration I'm using. I think it should work only removing the --env=prod
argument.
[program:jms_job_queue_runner_long]
command=php /var/www/example/bin/console jms-job-queue:run --env=prod --queue=long
process_name=%(program_name)s
numprocs=1
directory=/tmp
autostart=true
autorestart=true
startsecs=60
startretries=10
user=nginx
redirect_stderr=false
stdout_logfile=/var/www/example/var/logs/jms_job_queue_runner_long.out.log
stdout_capture_maxbytes=1MB
stderr_logfile=/var/www/example/var/logs/jms_job_queue_runner_long.error.log
stderr_capture_maxbytes=1MB
It launches the jobs and persists in the table, but they are never executed. Does anyone know how they are thrown?