Skip to content

Commit a99873d

Browse files
committed
Update job execution exit status
1 parent 2974831 commit a99873d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Command/BatchCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
8888
$this->getEntityManager()->persist($jobInstance);
8989
$this->getEntityManager()->flush($jobInstance);
9090

91+
$this->getEntityManager()->persist($jobExecution);
92+
$this->getEntityManager()->flush($jobExecution);
93+
9194
if (ExitStatus::COMPLETED === $jobExecution->getExitStatus()->getExitCode()) {
9295
$output->writeln(
9396
sprintf(

0 commit comments

Comments
 (0)