orderBy('created_at')->cursor() as $o) { if ($o->queue !== $lastq) { $this->alert(sprintf('Queue: %s',$o->queue)); $lastq = $o->queue; } $this->info(sprintf('%s-%d: %s[%s] - %d/%d tries [Next:%s]%s', $o->uuid, $o->id, $o->display_name, $o->command->subject, $o->attempts,$o->maxTries, $o->available_at ?: '-', $o->attempts ? sprintf(' (Created:%s)',$o->created_at) : '' )); } } }