|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilCronManagerImpl:
Collaboration diagram for ilCronManagerImpl:Public Member Functions | |
| __construct (private readonly ilCronJobRepository $cronRepository, private readonly ilDBInterface $db, private readonly ilSetting $settings, private readonly ilLogger $logger, private readonly ClockFactory $clock_factory) | |
| runActiveJobs (ilObjUser $actor) | |
| runJobManual (string $jobId, ilObjUser $actor) | |
| resetJob (ilCronJob $job, ilObjUser $actor) | |
| activateJob (ilCronJob $job, ilObjUser $actor, bool $wasManuallyExecuted=false) | |
| deactivateJob (ilCronJob $job, ilObjUser $actor, bool $wasManuallyExecuted=false) | |
| isJobActive (string $jobId) | |
| isJobInactive (string $jobId) | |
| ping (string $jobId) | |
Private Member Functions | |
| getMicrotime () | |
| runJob (ilCronJob $job, ilObjUser $actor, ?array $jobData=null, bool $isManualExecution=false) | |
| Run single cron job (internal) More... | |
Definition at line 24 of file class.ilCronManagerImpl.php.
| ilCronManagerImpl::__construct | ( | private readonly ilCronJobRepository | $cronRepository, |
| private readonly ilDBInterface | $db, | ||
| private readonly ilSetting | $settings, | ||
| private readonly ilLogger | $logger, | ||
| private readonly ClockFactory | $clock_factory | ||
| ) |
Definition at line 26 of file class.ilCronManagerImpl.php.
| ilCronManagerImpl::activateJob | ( | ilCronJob | $job, |
| ilObjUser | $actor, | ||
| bool | $wasManuallyExecuted = false |
||
| ) |
Implements ilCronManager.
Definition at line 229 of file class.ilCronManagerImpl.php.
References ilCronJob\activationWasToggled(), and ILIAS\Repository\settings().
Referenced by resetJob().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCronManagerImpl::deactivateJob | ( | ilCronJob | $job, |
| ilObjUser | $actor, | ||
| bool | $wasManuallyExecuted = false |
||
| ) |
Implements ilCronManager.
Definition at line 235 of file class.ilCronManagerImpl.php.
References ilCronJob\activationWasToggled(), and ILIAS\Repository\settings().
Referenced by runJob().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 35 of file class.ilCronManagerImpl.php.
Referenced by runJob().
Here is the caller graph for this function:| ilCronManagerImpl::isJobActive | ( | string | $jobId | ) |
Implements ilCronManager.
Definition at line 241 of file class.ilCronManagerImpl.php.
| ilCronManagerImpl::isJobInactive | ( | string | $jobId | ) |
Implements ilCronManager.
Definition at line 248 of file class.ilCronManagerImpl.php.
| ilCronManagerImpl::ping | ( | string | $jobId | ) |
Implements ilCronManager.
Definition at line 255 of file class.ilCronManagerImpl.php.
Implements ilCronManager.
Definition at line 210 of file class.ilCronManagerImpl.php.
References activateJob(), ilCronJobResult\CODE_MANUAL_RESET, and ilCronJobResult\STATUS_RESET.
Here is the call graph for this function:| ilCronManagerImpl::runActiveJobs | ( | ilObjUser | $actor | ) |
Implements ilCronManager.
Definition at line 40 of file class.ilCronManagerImpl.php.
References ilUtil\_getHttpPath(), ilSetting\_lookupValue(), ilDatePresentation\formatDate(), IL_CAL_UNIX, ILIAS\Repository\logger(), runJob(), ILIAS\Repository\settings(), ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
Here is the call graph for this function:
|
private |
Run single cron job (internal)
Definition at line 110 of file class.ilCronManagerImpl.php.
References Vendor\Package\$e, ilCronJobResult\CODE_SUPPOSED_CRASH, deactivateJob(), ilCronJob\getId(), getMicrotime(), ILIAS\Repository\int(), ilCronJob\isDue(), ILIAS\Repository\logger(), ilCronJob\run(), ilCronJob\setDateTimeProvider(), ilCronJobResult\STATUS_CRASHED, ilCronJobResult\STATUS_INVALID_CONFIGURATION, and ilStr\subStr().
Referenced by runActiveJobs(), and runJobManual().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCronManagerImpl::runJobManual | ( | string | $jobId, |
| ilObjUser | $actor | ||
| ) |
Implements ilCronManager.
Definition at line 84 of file class.ilCronManagerImpl.php.
References ILIAS\Repository\logger(), and runJob().
Here is the call graph for this function: