19 declare(strict_types=1);
63 $this->jobId = (string) $record[
'job_id'];
64 $this->component = (string) $record[
'component'];
65 $this->scheduleType = (
int) $record[
'schedule_type'];
66 $this->scheduleValue = (
int) $record[
'schedule_value'];
67 $this->jobStatus = (
int) $record[
'job_status'];
68 $this->jobStatusUsrId = (
int) $record[
'job_status_user_id'];
69 $this->jobStatusType = (
int) $record[
'job_status_type'];
70 $this->jobStatusTimestamp = (
int) $record[
'job_status_ts'];
71 $this->jobResultStatus = (
int) $record[
'job_result_status'];
72 $this->jobResultUsrId = (
int) $record[
'job_result_user_id'];
73 $this->jobResultCode = (string) $record[
'job_result_code'];
74 $this->jobResultMessage = (string) $record[
'job_result_message'];
75 $this->jobResultType = (
int) $record[
'job_result_type'];
76 $this->jobResultTimestamp = (
int) $record[
'job_result_ts'];
77 $this->
class = (string) $record['class'];
78 $this->path = (string) $record[
'path'];
79 $this->runningTimestamp = (
int) $record[
'running_ts'];
80 $this->jobResultDuration = (
int) $record[
'job_result_dur'];
81 $this->aliveTimestamp = (
int) $record[
'alive_ts'];
192 if (!
$type || !$this->
getJob()->hasFlexibleSchedule()) {
203 if (!
$type || !$this->
getJob()->hasFlexibleSchedule()) {
204 $value = (
int) $this->
getJob()->getDefaultScheduleValue();
217 $title = $this->
getJob()->getTitle();
getEffectiveScheduleValue()
getEffectiveScheduleType()
__construct(ilCronJob $job, array $record, bool $isPlugin=false)
ilCronJobEntity constructor.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins