ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
hook_cron.php
Go to the documentation of this file.
1
<?php
7
function
cron_hook_cron
(&
$croninfo
) {
8
assert(
'is_array($croninfo)'
);
9
assert(
'array_key_exists("summary", $croninfo)'
);
10
assert(
'array_key_exists("tag", $croninfo)'
);
11
12
$cronconfig
=
SimpleSAML_Configuration::getConfig
(
'module_cron.php'
);
13
14
if
(
$cronconfig
->getValue(
'debug_message'
, TRUE)) {
15
16
$croninfo
[
'summary'
][] =
'Cron did run tag ['
.
$croninfo
[
'tag'
] .
'] at '
.
date
(DATE_RFC822);
17
}
18
19
}
$cronconfig
$cronconfig
Definition:
cron.php:4
$croninfo
$croninfo
Definition:
cron.php:23
date
date( 'd-M-Y', $objPHPExcel->getProperties() ->getCreated())
Definition:
31docproperties_write-xls.php:86
cron_hook_cron
cron_hook_cron(&$croninfo)
Hook to run a cron job.
Definition:
hook_cron.php:7
SimpleSAML_Configuration\getConfig
static getConfig($filename='config.php', $configSet='simplesaml')
Load a configuration file from a configuration set.
Definition:
Configuration.php:209
libs
composer
vendor
simplesamlphp
simplesamlphp
modules
cron
hooks
hook_cron.php
Generated on Tue Jan 28 2025 19:01:12 for ILIAS by
1.8.13 (using
Doxyfile
)