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; }