Update supervisord.conf
This commit is contained in:
@@ -38,3 +38,16 @@ autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/var/log/supervisor/horizon.out.log
|
||||
stderr_logfile=/var/log/supervisor/horizon.err.log
|
||||
|
||||
; ============================
|
||||
; Schedule
|
||||
; ============================
|
||||
[program:schedule]
|
||||
command=php /code/artisan schedule:work
|
||||
directory=/code
|
||||
user=www-data
|
||||
priority=20
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/var/log/supervisor/schedule.out.log
|
||||
stderr_logfile=/var/log/supervisor/schedule.err.log
|
||||
|
||||
Reference in New Issue
Block a user