feat: able to run scheduler/horizon programatically

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

No files matched your search

@@ -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"
}
@@ -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"
}