protected function execute(InputInterface $input, OutputInterface $output)
    {
        if ($this->option('worker')) {
            return $this->worker();
        }

        if ($this->option('cron')) {
            return $this->cron();
        }

        if ($this->option('heartbeat')) {
            return $this->heartbeat();
        }

        return parent::execute($input, $output);
    }