Skip to content

Commit 515fbf8

Browse files
Altahrimbackportbot[bot]
authored andcommitted
chore(jobs): write proper documentation for job:history
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
1 parent cfd2e34 commit 515fbf8

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

core/Command/Background/JobsHistory.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ protected function configure(): void {
3333
parent::configure();
3434

3535
$help = <<<EOF
36-
Display all currently running background jobs.
36+
List historical job executions
3737
38-
You can find the following informations:
38+
The output includes:
3939
- <info>Run ID:</info> job identifier as found in database (Snowflake ID)
40+
- <info>Status:</info> result of the job (Succeeded, Failed, Crashed)
4041
- <info>Class:</info> class of the job
4142
- <info>Started at:</info> start time of the job
4243
- <info>Server ID:</info> server ID as defined in <options=bold>config.php</> (see `serverid`). Highlighted if it’s running on current server.
@@ -48,7 +49,7 @@ protected function configure(): void {
4849

4950
$this
5051
->setName('background-job:history')
51-
->setDescription('Show currently running jobs')
52+
->setDescription('List historical job executions')
5253
->setHelp($help)
5354
->addOption('limit', 'l', InputOption::VALUE_REQUIRED, 'Maximum number of results returned by the command', 200)
5455
->addOption('class', 'c', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Filter by class name', [])

0 commit comments

Comments
 (0)