19 declare(strict_types=1);
44 $this->job_manager->runActiveJobs($actor);
50 return $this->job_manager->runJobManual($jobId, $actor);
55 $this->job_manager->resetJob($job, $actor);
60 $this->job_manager->activateJob($job, $actor, $wasManuallyExecuted);
65 $this->job_manager->deactivateJob($job, $actor, $wasManuallyExecuted);
70 return $this->job_manager->isJobActive($jobId);
75 return $this->job_manager->isJobInactive($jobId);
78 public function ping(
string $jobId): void
80 $this->job_manager->ping($jobId);
resetJob(\ILIAS\Cron\CronJob $job, \ilObjUser $actor)
Interface Observer Contains several chained tasks and infos about them.
deactivateJob(\ILIAS\Cron\CronJob $job, \ilObjUser $actor, bool $wasManuallyExecuted=false)
activateJob(\ILIAS\Cron\CronJob $job, \ilObjUser $actor, bool $wasManuallyExecuted=false)
__construct(protected JobManager $job_manager)
runActiveJobs(\ilObjUser $actor)
isJobInactive(string $jobId)
runJobManual(string $jobId, \ilObjUser $actor)
isJobActive(string $jobId)