public function startCronSchedule($jobCode, $status = CronScheduleStatus::RUN, $messages = null)
    {
        $this->jobCode = $jobCode;
        $this->status = $status;
        $this->messages = $messages;
        $this->dateCreated = Yii::$app->formatter->asDatetime(time(), 'php: Y-m-d H:i:s');

        return $this->save();
    }