flamix/supervisor-poor

Supervisor for poor people

dev-main 2023-09-12 17:28 UTC

This package is auto-updated.

Last update: 2024-12-12 20:08:25 UTC


README

This is a custom Laravel Artisan command that checks if specified commands are running and starts them if not.

// Add to config/queue.php
'supervisor' => [
    'queue:listen --queue=demo' => 1,
]

// Add to cron
$schedule->command('flamix:supervisor')->everyFiveMinutes()->runInBackground();

Mannually run command

php artisan flamix:supervisor