Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 1 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | 1 | protected function execute(InputInterface $input, OutputInterface $output) |
|
27 | { |
||
28 | $countException = $this->jobManager->resetExceptionJobs(); |
||
29 | $countStalled = $this->jobManager->resetStalledJobs(); |
||
|
|||
30 | $output->writeln("$countException job(s) in status 'exception' reset"); |
||
31 | $output->writeln("$countStalled job(s) stalled (in status 'running') reset"); |
||
32 | } |
||
34 |