|
| getJobInstanceById (string $id) |
|
| getJobInstance (string $a_id, string $a_component, string $a_class, bool $isCreationContext=false) |
|
| getCronJobData ($id=null, bool $withInactiveJobsIncluded=true) |
| Get cron job configuration/execution data. More...
|
|
| registerJob (string $a_component, string $a_id, string $a_class, ?string $a_path) |
|
| unregisterJob (string $a_component, array $a_xml_job_ids) |
|
| createDefaultEntry (ilCronJob $job, string $component, string $class, ?string $path) |
|
| getPluginJobs (bool $withOnlyActive=false) |
|
| resetJob (ilCronJob $job) |
|
| updateJobResult (ilCronJob $job, DateTimeImmutable $when, ilObjUser $actor, ilCronJobResult $result, bool $wasManualExecution=false) |
|
| updateRunInformation (string $jobId, int $runningTimestamp, int $aliveTimestamp) |
|
| updateJobSchedule (ilCronJob $job, ?int $scheduleType, ?int $scheduleValue) |
|
| activateJob (ilCronJob $job, DateTimeImmutable $when, ilObjUser $actor, bool $wasManuallyExecuted=false) |
|
| deactivateJob (ilCronJob $job, DateTimeImmutable $when, ilObjUser $actor, bool $wasManuallyExecuted=false) |
|
| findAll () |
|
◆ activateJob()
ilCronJobRepository::activateJob |
( |
ilCronJob |
$job, |
|
|
DateTimeImmutable |
$when, |
|
|
ilObjUser |
$actor, |
|
|
bool |
$wasManuallyExecuted = false |
|
) |
| |
◆ createDefaultEntry()
ilCronJobRepository::createDefaultEntry |
( |
ilCronJob |
$job, |
|
|
string |
$component, |
|
|
string |
$class, |
|
|
?string |
$path |
|
) |
| |
◆ deactivateJob()
ilCronJobRepository::deactivateJob |
( |
ilCronJob |
$job, |
|
|
DateTimeImmutable |
$when, |
|
|
ilObjUser |
$actor, |
|
|
bool |
$wasManuallyExecuted = false |
|
) |
| |
◆ findAll()
ilCronJobRepository::findAll |
( |
| ) |
|
◆ getCronJobData()
ilCronJobRepository::getCronJobData |
( |
|
$id = null , |
|
|
bool |
$withInactiveJobsIncluded = true |
|
) |
| |
Get cron job configuration/execution data.
- Parameters
-
array | string | null | $id | |
bool | $withInactiveJobsIncluded | |
- Returns
- array<int, array<string, mixed>>
Implemented in ilCronJobRepositoryImpl.
◆ getJobInstance()
ilCronJobRepository::getJobInstance |
( |
string |
$a_id, |
|
|
string |
$a_component, |
|
|
string |
$a_class, |
|
|
bool |
$isCreationContext = false |
|
) |
| |
◆ getJobInstanceById()
ilCronJobRepository::getJobInstanceById |
( |
string |
$id | ) |
|
◆ getPluginJobs()
ilCronJobRepository::getPluginJobs |
( |
bool |
$withOnlyActive = false | ) |
|
◆ registerJob()
ilCronJobRepository::registerJob |
( |
string |
$a_component, |
|
|
string |
$a_id, |
|
|
string |
$a_class, |
|
|
?string |
$a_path |
|
) |
| |
◆ resetJob()
ilCronJobRepository::resetJob |
( |
ilCronJob |
$job | ) |
|
◆ unregisterJob()
ilCronJobRepository::unregisterJob |
( |
string |
$a_component, |
|
|
array |
$a_xml_job_ids |
|
) |
| |
◆ updateJobResult()
◆ updateJobSchedule()
ilCronJobRepository::updateJobSchedule |
( |
ilCronJob |
$job, |
|
|
?int |
$scheduleType, |
|
|
?int |
$scheduleValue |
|
) |
| |
◆ updateRunInformation()
ilCronJobRepository::updateRunInformation |
( |
string |
$jobId, |
|
|
int |
$runningTimestamp, |
|
|
int |
$aliveTimestamp |
|
) |
| |
The documentation for this interface was generated from the following file: