From af7027ea31a691e2eea6d813f6aa3cf08f8b9d0a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 12 Apr 2016 21:26:17 -0400 Subject: Rename CLI classes --- app/Console/Cronjob.php | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 app/Console/Cronjob.php (limited to 'app/Console/Cronjob.php') diff --git a/app/Console/Cronjob.php b/app/Console/Cronjob.php deleted file mode 100644 index 3a5c5596..00000000 --- a/app/Console/Cronjob.php +++ /dev/null @@ -1,32 +0,0 @@ -setName('cronjob') - ->setDescription('Execute daily cronjob'); - } - - protected function execute(InputInterface $input, OutputInterface $output) - { - foreach ($this->commands as $command) { - $job = $this->getApplication()->find($command); - $job->run(new ArrayInput(array('command' => $command)), new NullOutput()); - } - } -} -- cgit v1.2.3