Minor changes to mail:send and job:list rendering

This commit is contained in:
2023-11-26 11:32:21 +11:00
parent 2b2482ba71
commit 6e7e09ab50
2 changed files with 7 additions and 29 deletions

View File

@@ -35,15 +35,14 @@ class JobList extends Command
$lastq = $o->queue;
}
$this->info(sprintf('%s-%d: %s[%s] - %d tries (Created: %s,Timeout: %s,Next: %s)',
$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->created_at,
$o->retry_until ?: '-',
$o->reserved_at ?: '-',
$o->attempts,$o->maxTries,
$o->available_at ?: '-',
$o->attempts ? sprintf(' (Created:%s)',$o->created_at) : ''
));
}
}