@@ -1,19 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Alpixel\Bundle\CronBundle\Command; |
3 | 3 | use Doctrine\ORM\EntityManager; |
4 | - |
|
5 | 4 | use Symfony\Component\Console\Input\ArgvInput; |
6 | - |
|
7 | 5 | use Alpixel\Bundle\CronBundle\Entity\CronJobResult; |
8 | - |
|
9 | 6 | use Alpixel\Bundle\CronBundle\Entity\CronJob; |
10 | - |
|
11 | 7 | use Symfony\Component\Console\Output\OutputInterface; |
12 | - |
|
13 | 8 | use Symfony\Component\Console\Input\InputInterface; |
14 | - |
|
15 | 9 | use Symfony\Component\Console\Input\InputArgument; |
16 | - |
|
17 | 10 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
18 | 11 | |
19 | 12 | class CronRunCommand extends ContainerAwareCommand |
@@ -1,21 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Alpixel\Bundle\CronBundle\Command; |
3 | 3 | use Alpixel\Bundle\CronBundle\Entity\CronJob; |
4 | - |
|
5 | 4 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 5 | use Symfony\Component\Console\Command\Command; |
8 | - |
|
9 | 6 | use Alpixel\Bundle\CronBundle\Annotation\CronJob as CronJobAnno; |
10 | - |
|
11 | -use Symfony\Bundle\DoctrineBundle\Registry; |
|
12 | - |
|
13 | 7 | use Symfony\Component\Console\Output\OutputInterface; |
14 | - |
|
15 | 8 | use Symfony\Component\Console\Input\InputInterface; |
16 | - |
|
17 | 9 | use Symfony\Component\Console\Input\InputOption; |
18 | - |
|
19 | 10 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
20 | 11 | |
21 | 12 | class CronScanCommand extends ContainerAwareCommand |
@@ -1,15 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Alpixel\Bundle\CronBundle\Command; |
3 | 3 | use Alpixel\Bundle\CronBundle\Entity\CronJobResult; |
4 | - |
|
5 | 4 | use Alpixel\Bundle\CronBundle\Entity\CronJob; |
6 | - |
|
7 | 5 | use Symfony\Component\Console\Output\OutputInterface; |
8 | - |
|
9 | 6 | use Symfony\Component\Console\Input\InputInterface; |
10 | - |
|
11 | 7 | use Symfony\Component\Console\Input\InputArgument; |
12 | - |
|
13 | 8 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
14 | 9 | |
15 | 10 | class CronStatusCommand extends ContainerAwareCommand |