mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
add queue monitor menu
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:work --verbose --tries=3;
|
||||
php artisan queue:horizon;
|
||||
else
|
||||
echo_info "[Queue] .env or vendor not exists,wait 5 seconds ...";
|
||||
sleep 5;
|
||||
|
||||
Reference in New Issue
Block a user