From 1b5f0ce4acb9ef33febd87967d9d33d2dac22dc8 Mon Sep 17 00:00:00 2001 From: Johannes Date: Tue, 1 Mar 2016 08:40:06 +0100 Subject: [PATCH] fixes typo --- Command/ScheduleCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}