If someone is still looking for an answer, this is how I do it:
$connection = null; $default = 'default'; //For the delayed jobs var_dump( \Queue::getRedis()->connection($connection)->zrange('queues:'.$default.':delayed' ,0, -1) ); //For the reserved jobs var_dump( \Queue::getRedis()->connection($connection)->zrange('queues:'.$default.':reserved' ,0, -1) );
$connection - is the name of Redis connections, which defaults to null, and $queue - queue name / tube, which by default is the default!
source share