19 declare(strict_types=1);
29 bool $isCreationContext =
false 38 public function getCronJobData($id = null,
bool $withInactiveJobsIncluded =
true): array;
40 public function registerJob(
string $a_component,
string $a_id,
string $a_class, ?
string $a_path): void;
42 public function unregisterJob(
string $a_component, array $a_xml_job_ids): void;
50 public function getPluginJobs(
bool $withOnlyActive =
false): array;
59 bool $wasManualExecution =
false 62 public function updateRunInformation(
string $jobId,
int $runningTimestamp,
int $aliveTimestamp): void;
activateJob(ilCronJob $job, DateTimeImmutable $when, ilObjUser $actor, bool $wasManuallyExecuted=false)
registerJob(string $a_component, string $a_id, string $a_class, ?string $a_path)
deactivateJob(ilCronJob $job, DateTimeImmutable $when, ilObjUser $actor, bool $wasManuallyExecuted=false)
getJobInstanceById(string $id)
updateRunInformation(string $jobId, int $runningTimestamp, int $aliveTimestamp)
unregisterJob(string $a_component, array $a_xml_job_ids)
updateJobSchedule(ilCronJob $job, ?int $scheduleType, ?int $scheduleValue)
updateJobResult(ilCronJob $job, DateTimeImmutable $when, ilObjUser $actor, ilCronJobResult $result, bool $wasManualExecution=false)
getCronJobData($id=null, bool $withInactiveJobsIncluded=true)
Get cron job configuration/execution data.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
getJobInstance(string $a_id, string $a_component, string $a_class, bool $isCreationContext=false)
getPluginJobs(bool $withOnlyActive=false)
createDefaultEntry(ilCronJob $job, string $component, string $class, ?string $path)