public function runScheduled(OutputInterface $output)
    {
        $success = true;

        $event = new ScheduleRunBeginEvent();
        $this->dispatcher->dispatch($event::NAME, $event);

        foreach ($this->getScheduledJobs() as $jobInfo) {
            $job = $jobInfo['model'];
            $run = $this->runJob($job, $jobInfo, $output);

            $success = $run->succeeded() && $success;
        }

        $event = new ScheduleRunFinishedEvent();
        $this->dispatcher->dispatch($event::NAME, $event);

        return $success;
    }