code: public function addSchedule(ScheduleInterface $schedule)
      {
          if(!$schedule instanceof Schedule)
          {
              $schedule = new Schedule($schedule->getType(), $schedule->getExpression());
          }
  
          $schedule->setJob($this);
  
          parent::addSchedule($schedule);
      }
docs: {@inheritdoc}