Skip to content

Commit

Permalink
Merge pull request #87 from slri/fix/crontask-typo
Browse files Browse the repository at this point in the history
fix: fix typo when calling getId on executable in crontask
  • Loading branch information
dpfaffenbauer authored Nov 7, 2022
2 parents 85f350e + 7f6d9a3 commit a192cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ProcessManagerBundle/Maintenance/CronTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function execute()
$executable->setLastrun($cron->getPreviousRunDate()->getTimestamp());
$executable->save();

$this->messageBus->dispatch(new ProcessMessage($exe->getId()));
$this->messageBus->dispatch(new ProcessMessage($executable->getId()));
}
}
}
Expand Down

0 comments on commit a192cbf

Please sign in to comment.