ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
interface.ilCronManager.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 interface ilCronManager
22 {
23  public function runActiveJobs(ilObjUser $actor): void;
24 
25  public function runJobManual(string $jobId, ilObjUser $actor): bool;
26 
27  public function resetJob(ilCronJob $job, ilObjUser $actor): void;
28 
29  public function activateJob(ilCronJob $job, ilObjUser $actor, bool $wasManuallyExecuted = false): void;
30 
31  public function deactivateJob(ilCronJob $job, ilObjUser $actor, bool $wasManuallyExecuted = false): void;
32 
33  public function isJobActive(string $jobId): bool;
34 
35  public function isJobInactive(string $jobId): bool;
36 
37  public function ping(string $jobId): void;
38 }
isJobInactive(string $jobId)
isJobActive(string $jobId)
resetJob(ilCronJob $job, ilObjUser $actor)
runActiveJobs(ilObjUser $actor)
runJobManual(string $jobId, ilObjUser $actor)
activateJob(ilCronJob $job, ilObjUser $actor, bool $wasManuallyExecuted=false)
deactivateJob(ilCronJob $job, ilObjUser $actor, bool $wasManuallyExecuted=false)
ping(string $jobId)