|
| 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 (\ILIAS\Cron\CronJob $job, string $component, string $class, ?string $path) |
|
| getPluginJobs (bool $withOnlyActive=false) |
|
| resetJob (\ILIAS\Cron\CronJob $job) |
|
| updateJobResult (\ILIAS\Cron\CronJob $job, \DateTimeImmutable $when, \ilObjUser $actor, JobResult $result, bool $wasManualExecution=false) |
|
| updateRunInformation (string $jobId, int $runningTimestamp, int $aliveTimestamp) |
|
| updateJobSchedule (\ILIAS\Cron\CronJob $job, ?JobScheduleType $scheduleType, ?int $scheduleValue) |
|
| activateJob (\ILIAS\Cron\CronJob $job, \DateTimeImmutable $when, \ilObjUser $actor, bool $wasManuallyExecuted=false) |
|
| deactivateJob (\ILIAS\Cron\CronJob $job, \DateTimeImmutable $when, \ilObjUser $actor, bool $wasManuallyExecuted=false) |
|
| findAll () |
|
Definition at line 25 of file JobRepository.php.
◆ activateJob()
ILIAS\BackgroundTasks\Task\Job\JobRepository::activateJob |
( |
\ILIAS\Cron\CronJob |
$job, |
|
|
\DateTimeImmutable |
$when, |
|
|
\ilObjUser |
$actor, |
|
|
bool |
$wasManuallyExecuted = false |
|
) |
| |
◆ createDefaultEntry()
ILIAS\BackgroundTasks\Task\Job\JobRepository::createDefaultEntry |
( |
\ILIAS\Cron\CronJob |
$job, |
|
|
string |
$component, |
|
|
string |
$class, |
|
|
?string |
$path |
|
) |
| |
◆ deactivateJob()
ILIAS\BackgroundTasks\Task\Job\JobRepository::deactivateJob |
( |
\ILIAS\Cron\CronJob |
$job, |
|
|
\DateTimeImmutable |
$when, |
|
|
\ilObjUser |
$actor, |
|
|
bool |
$wasManuallyExecuted = false |
|
) |
| |
◆ findAll()
ILIAS\BackgroundTasks\Task\Job\JobRepository::findAll |
( |
| ) |
|
◆ getCronJobData()
ILIAS\BackgroundTasks\Task\Job\JobRepository::getCronJobData |
( |
|
$id = null , |
|
|
bool |
$withInactiveJobsIncluded = true |
|
) |
| |
◆ getJobInstance()
ILIAS\BackgroundTasks\Task\Job\JobRepository::getJobInstance |
( |
string |
$a_id, |
|
|
string |
$a_component, |
|
|
string |
$a_class, |
|
|
bool |
$isCreationContext = false |
|
) |
| |
◆ getJobInstanceById()
ILIAS\BackgroundTasks\Task\Job\JobRepository::getJobInstanceById |
( |
string |
$id | ) |
|
◆ getPluginJobs()
ILIAS\BackgroundTasks\Task\Job\JobRepository::getPluginJobs |
( |
bool |
$withOnlyActive = false | ) |
|
◆ registerJob()
ILIAS\BackgroundTasks\Task\Job\JobRepository::registerJob |
( |
string |
$a_component, |
|
|
string |
$a_id, |
|
|
string |
$a_class, |
|
|
?string |
$a_path |
|
) |
| |
◆ resetJob()
◆ unregisterJob()
ILIAS\BackgroundTasks\Task\Job\JobRepository::unregisterJob |
( |
string |
$a_component, |
|
|
array |
$a_xml_job_ids |
|
) |
| |
◆ updateJobResult()
ILIAS\BackgroundTasks\Task\Job\JobRepository::updateJobResult |
( |
\ILIAS\Cron\CronJob |
$job, |
|
|
\DateTimeImmutable |
$when, |
|
|
\ilObjUser |
$actor, |
|
|
JobResult |
$result, |
|
|
bool |
$wasManualExecution = false |
|
) |
| |
◆ updateJobSchedule()
ILIAS\BackgroundTasks\Task\Job\JobRepository::updateJobSchedule |
( |
\ILIAS\Cron\CronJob |
$job, |
|
|
?JobScheduleType |
$scheduleType, |
|
|
?int |
$scheduleValue |
|
) |
| |
◆ updateRunInformation()
ILIAS\BackgroundTasks\Task\Job\JobRepository::updateRunInformation |
( |
string |
$jobId, |
|
|
int |
$runningTimestamp, |
|
|
int |
$aliveTimestamp |
|
) |
| |
The documentation for this interface was generated from the following file: