feat: able to run scheduler/horizon programatically

This commit is contained in:
Andras Bacsai
2024-03-19 10:24:23 +01:00
parent 3da7746629
commit 289480c954
8 changed files with 49 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
#!/command/execlineb -P
foreground {
s6-sleep 5
su - webuser -c "php /var/www/html/artisan horizon"
su - webuser -c "php /var/www/html/artisan start:horizon"
}

View File

@@ -1,5 +1,5 @@
#!/command/execlineb -P
foreground {
s6-sleep 5
su - webuser -c "php /var/www/html/artisan schedule:work"
su - webuser -c "php /var/www/html/artisan start:scheduler"
}