Beispiel #1
0
 protected function configure()
 {
     parent::configure();
     $this->setName('restart')->setDescription('Restart workers');
 }
Beispiel #2
0
 protected function configure()
 {
     parent::configure();
     $this->setName('stats')->setDescription('Get stats about the workers')->addOption('pids', 'p', null, 'Only return a list of PIDs');
 }
Beispiel #3
0
 protected function configure()
 {
     parent::configure();
     $this->setName('start')->addOption('number', 'm', InputOption::VALUE_REQUIRED, 'Override number of workers to start <comment>(default: up to the number specified by the worker)</comment>')->setDescription('Start workers');
 }
Beispiel #4
0
 protected function configure()
 {
     parent::configure();
     $this->setName('stop')->setDescription('Stop workers');
 }