protected function configure() { parent::configure(); $this->name = 'test-loop'; $this->briefDescription = 'Does nothing.'; $this->detailedDescription = 'Does nothing.'; }
protected function configure() { parent::configure(); $this->name = 'useless-loop'; $this->briefDescription = 'Does some counting, very nice!'; $this->detailedDescription = 'This task knows how to count - really, ask it!'; }
/** * Set up information about this task. * * @return void */ protected function configure() { $this->addOptions(array(new sfCommandOption('application', null, sfCommandOption::PARAMETER_REQUIRED, 'The application name', 'backend'), new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'dev'))); parent::configure(); $this->name = 'reload-cron'; $this->briefDescription = 'Initiate reload cron process.'; $this->detailedDescription = 'This task will issue the CronTask to reload its schedule.'; }
/** * Set up information about this task. * * @return void */ protected function configure() { $this->addOptions(array(new sfCommandOption('application', null, sfCommandOption::PARAMETER_REQUIRED, 'The application name', 'backend'), new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'dev'), new sfCommandOption('connection', null, sfCommandOption::PARAMETER_REQUIRED, 'The connection name', 'propel'))); parent::configure(); $this->name = 'cron'; $this->briefDescription = 'Runs the cron table.'; $this->detailedDescription = 'This task is used to check whether there is a task scheduled and will call the worker API of cloudControl to execute the given task.'; // Please restart this task, if it ends. $this->setReturnCode(CloudControlBaseTask::RETURN_CODE_ERROR_RESTART); }