From ea5f872bce35783124bab51e2cf986825d19ba7e Mon Sep 17 00:00:00 2001 From: Tom Graham Date: Thu, 30 Oct 2014 20:16:55 +0000 Subject: [PATCH] Fixed issue with cron command. --- src/Sqwack/Command/CronCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sqwack/Command/CronCommand.php b/src/Sqwack/Command/CronCommand.php index 5a50cb0..8328aae 100644 --- a/src/Sqwack/Command/CronCommand.php +++ b/src/Sqwack/Command/CronCommand.php @@ -23,7 +23,7 @@ protected function configure() protected function execute(InputInterface $input, OutputInterface $output) { - $waitMinutes = $this->getOption('sleep'); + $waitMinutes = $input->getOption('sleep'); if (!$waitMinutes) { $waitMinutes = 3; }