Skip to content

Commit

Permalink
Fixed issue with cron command.
Browse files Browse the repository at this point in the history
  • Loading branch information
tompedals committed Oct 30, 2014
1 parent 84514a7 commit ea5f872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sqwack/Command/CronCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ea5f872

Please sign in to comment.