EscolaLMS/API

View on GitHub
docker/conf/supervisor/example/scheduler.conf.example

Summary

Maintainability
Test Coverage
[program:laravel-schedule-$SCHEDULER_DOMAIN]
process_name=%(program_name)s_%(process_num)02d
command=/bin/sh -c "while [ true ]; do (php /var/www/html/artisan schedule:run --domain=$SCHEDULER_DOMAIN --verbose --no-interaction &); sleep 60; done"
user=devilbox
autostart=true
autorestart=true
numprocs=1
redirect_stderr=true
stopwaitsecs=3600
#logfile=/etc/supervisor/conf.d/schedule.log
stdout_logfile          = /dev/stdout
stdout_logfile_maxbytes = 0
stdout_events_enabled   = true

stderr_logfile          = /dev/stderr
stderr_logfile_maxbytes = 0
stderr_events_enabled   = true