Entity/Job.php
public function addSchedule(ScheduleInterface $schedule)
    {
        if(!$schedule instanceof Schedule)
        {
            $schedule = new Schedule($schedule->getType(), $schedule->getExpression());
        }

        $schedule->setJob($this);

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

        $schedule->setJob($this);

        parent::addSchedule($schedule);
    }
{@inheritdoc}