ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
hook_cron.php
Go to the documentation of this file.
1 <?php
8  assert(is_array($croninfo));
9  assert(array_key_exists('summary', $croninfo));
10  assert(array_key_exists('tag', $croninfo));
11 
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
Definition: cron.php:4
$croninfo
Definition: cron.php:23
cron_hook_cron(&$croninfo)
Hook to run a cron job.
Definition: hook_cron.php:7
static getConfig($filename='config.php', $configSet='simplesaml')
Load a configuration file from a configuration set.