ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilStrictCliCronManager.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3
8
class
ilStrictCliCronManager
implements
\ilCronManagerInterface
9
{
13
protected
$cronManager
;
14
19
public
function
__construct
(\
ilCronManagerInterface
$cronManager
)
20
{
21
$this->cronManager =
$cronManager
;
22
}
23
27
private
function
getValidPhpApis
() : array
28
{
29
return
[
30
'cli'
31
];
32
}
33
37
public
function
runActiveJobs
()
38
{
39
if
(in_array(php_sapi_name(), array_map(
'strtolower'
, $this->
getValidPhpApis
()))) {
40
$this->cronManager->runActiveJobs();
41
}
42
}
43
}
ilStrictCliCronManager\$cronManager
$cronManager
Definition:
class.ilStrictCliCronManager.php:13
ilStrictCliCronManager
Class ilStrictCliCronManager.
Definition:
class.ilStrictCliCronManager.php:8
ilStrictCliCronManager\runActiveJobs
runActiveJobs()
Run all active jobs.
Definition:
class.ilStrictCliCronManager.php:37
ilCronManagerInterface
Class ilStrictCliCronManager.
Definition:
interface.ilCronManagerInterface.php:8
ilStrictCliCronManager\getValidPhpApis
getValidPhpApis()
Definition:
class.ilStrictCliCronManager.php:27
ilStrictCliCronManager\__construct
__construct(\ilCronManagerInterface $cronManager)
ilStrictCliCronManager constructor.
Definition:
class.ilStrictCliCronManager.php:19
Services
Cron
classes
class.ilStrictCliCronManager.php
Generated on Fri Apr 11 2025 21:01:31 for ILIAS by
1.8.13 (using
Doxyfile
)