improve horizon

This commit is contained in:
xiaomlove
2025-05-04 15:52:08 +07:00
parent ddd079f4fc
commit 6aadce79da
7 changed files with 11 additions and 19 deletions

View File

@@ -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 existswait 5 seconds ...";
sleep 5;