hooks["cron"]; $periods = elgg_get_config('elgg_cron_periods'); $table_content = ''; foreach ($periods as $period) { $name = elgg_echo("interval:$period"); $key = "cron_latest:$period:ts"; $ts = elgg_get_site_entity()->getPrivateSetting($key); if ($ts) { $friendly_time = elgg_view_friendly_time($ts); $date = date('r', $ts); } else { $friendly_time = elgg_echo('never'); $date = ''; } $table_content .= "$name$friendly_time$date"; } $period_hd = elgg_echo('admin:cron:period'); $friendly_hd = elgg_echo('admin:cron:friendly'); $date_hd = elgg_echo('admin:cron:date'); $table = << $period_hd$friendly_hd$date_hd $table_content HTML; echo elgg_view_module('inline', elgg_echo('admin:cron:record'), $table);