Queue listener was not started on a server, some jobs where pushed (using Redis driver).
How could I count (or get all) theses jobs ? I did not found any artisan co
If anybody is still looking approach for the older versions of the Laravel:
$connection = 'queue'; $queueName = 'default'; $totalQueuedLeads = Redis::connection($connection)->zcount('queues:'.$queueName.':delayed' , '-inf', '+inf');