diff --git a/Command/ScheduleCommand.php b/Command/ScheduleCommand.php index 96ab14b0..fa6fe57a 100644 --- a/Command/ScheduleCommand.php +++ b/Command/ScheduleCommand.php @@ -121,7 +121,7 @@ private function acquireLock(ManagerRegistry $registry, $commandName, \DateTime ); if ($affectedRows > 0) { - return array(true, $lastRunAt); + return array(true, $now); } /** @var CronJob $cronJob */ @@ -168,4 +168,4 @@ private function populateJobsLastRunAt(EntityManager $em, array $jobSchedulers) return $jobsLastRunAt; } -} \ No newline at end of file +}