mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
improve horizon
This commit is contained in:
@@ -72,7 +72,7 @@ elif [ "$SERVICE_NAME" = "queue" ]; then
|
||||
while true; do
|
||||
if [ -f "$ENV_FILE" ] && [ -d "$VENDOR_DIR" ]; then
|
||||
echo_success "[Queue] Run queue:work at $(date '+%Y-%m-%d %H:%M:%S')";
|
||||
php artisan queue:horizon;
|
||||
php artisan horizon;
|
||||
else
|
||||
echo_info "[Queue] .env or vendor not exists,wait 5 seconds ...";
|
||||
sleep 5;
|
||||
|
||||
Reference in New Issue
Block a user