19declare(strict_types=1);
33 bool $isCreationContext =
false
43 public function registerJob(
string $a_component,
string $a_id,
string $a_class, ?
string $a_path): void;
48 public function unregisterJob(
string $a_component, array $a_xml_job_ids): void;
61 \DateTimeImmutable $when,
64 bool $wasManualExecution =
false
73 \DateTimeImmutable $when,
75 bool $wasManuallyExecuted =
false
80 \DateTimeImmutable $when,
82 bool $wasManuallyExecuted =
false
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
@template-extends \IteratorAggregate<\ILIAS\Cron\Job\JobEntity>
registerJob(string $a_component, string $a_id, string $a_class, ?string $a_path)
deactivateJob(\ILIAS\Cron\CronJob $job, \DateTimeImmutable $when, \ilObjUser $actor, bool $wasManuallyExecuted=false)
unregisterJob(string $a_component, array $a_xml_job_ids)
resetJob(\ILIAS\Cron\CronJob $job)
activateJob(\ILIAS\Cron\CronJob $job, \DateTimeImmutable $when, \ilObjUser $actor, bool $wasManuallyExecuted=false)
getJobInstanceById(string $id)
getPluginJobs(bool $withOnlyActive=false)
updateJobResult(\ILIAS\Cron\CronJob $job, \DateTimeImmutable $when, \ilObjUser $actor, JobResult $result, bool $wasManualExecution=false)
getCronJobData($id=null, bool $withInactiveJobsIncluded=true)
Get cron job configuration/execution data.
updateJobSchedule(\ILIAS\Cron\CronJob $job, ?JobScheduleType $scheduleType, ?int $scheduleValue)
updateRunInformation(string $jobId, int $runningTimestamp, int $aliveTimestamp)
getJobInstance(string $a_id, string $a_component, string $a_class, bool $isCreationContext=false)
createDefaultEntry(\ILIAS\Cron\CronJob $job, string $component, string $class, ?string $path)
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.