php artisan queue:restart
php artisan queue:work --sleep=3 --tries=1 --memory=768 --timeout=10800
php artisan queue:work --env=production --sleep=3 --tries=1 --memory=768 --timeout=3600
php artisan queue:listen --env=production --sleep=3 --tries=1 --memory=768 --timeout=3600
# does not need restarts, but is less more efficient
\Illuminate\Support\Facades\Queue::size();
SELECT COUNT(*) FROM jobs
php artisan queue:clear
ExampleQueue::dispatch()->onQueue('queue_name');
php artisan queue:work --queue=queue_name
Queue::size('queue_name')
php artisan queue:clear --queue=queue_name