conf supervisor to run command “schedule:run” or “schedule:work” in laravel backend – Forum – Mas AL Forum

BLOG IT SYSADMIN

Daftar akun digitalocean untuk mendapatkan free credit 100$.
DigitalOcean Referral Badge
conf supervisor to ...
 
Notifications
Clear all

conf supervisor to run command "schedule:run" or "schedule:work" in laravel backend

1 Post
1 Pengguna
0 Reactions
101 Dilihat
Post: 15
Admin
Topic starter
(@alvian)
Eminent Member
Joined: 3 tahun lalu

[program:yourprogramname-schedule]
process_name=%(program_name)s_%(process_num)02d
directory=/var/www/html/web-dir/
command=php artisan schedule:work
autostart=true
autorestart=true
user=www-data
numprocs=1
redirect_stderr=true
stdout_logfile= /var/www/html/web-dir/schedule.log

Share: