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