Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions core/Command/Background/JobsHistory.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ protected function configure(): void {
parent::configure();

$help = <<<EOF
Display all currently running background jobs.
List historical job executions

You can find the following informations:
The output includes:
- <info>Run ID:</info> job identifier as found in database (Snowflake ID)
- <info>Status:</info> result of the job (Succeeded, Failed, Crashed)
- <info>Class:</info> class of the job
- <info>Started at:</info> start time of the job
- <info>Server ID:</info> server ID as defined in <options=bold>config.php</> (see `serverid`). Highlighted if it’s running on current server.
Expand All @@ -48,7 +49,7 @@ protected function configure(): void {

$this
->setName('background-job:history')
->setDescription('Show currently running jobs')
->setDescription('List historical job executions')
->setHelp($help)
->addOption('limit', 'l', InputOption::VALUE_REQUIRED, 'Maximum number of results returned by the command', 200)
->addOption('class', 'c', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Filter by class name', [])
Expand Down
2 changes: 1 addition & 1 deletion core/Command/Background/RunningJobs.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected function configure(): void {
$help = <<<EOF
Display all currently running background jobs.

You can find the following informations:
The output includes:
- <info>Run ID:</info> job identifier a found in database (Snowflake ID)
- <info>Class:</info> class of the job
- <info>Started at:</info> start time of the job
Expand Down
Loading