docker-laravel-base/supervisor/laravel-scheduler.conf
Javier Feliz 3d7683c8ac
All checks were successful
Build & Push Docker Image to Registry / build (release) Successful in 5m1s
Add hooks as well as scheduler and queue worker config
2025-08-02 16:19:05 -04:00

13 lines
401 B
Plaintext

[program:laravel-scheduler]
process_name=%(program_name)s
command=/bin/bash -c "while [ true ]; do (php /app/artisan schedule:run --verbose --no-interaction &); sleep 60; done"
autostart=false
autorestart=true
stopasgroup=true
killasgroup=true
user=www-data
numprocs=1
redirect_stderr=true
stdout_logfile=/var/log/supervisor/laravel-scheduler.log
stdout_logfile_maxbytes=100MB
stdout_logfile_backups=2