21 'href' =>
'admin/cron',
22 'section' =>
'information',
41 $interval = strtolower(array_shift($segments));
44 if ($interval !==
'run') {
45 $intervals = [$interval];
52 foreach ($jobs as $job) {
53 $output .= $job->getOutput() . PHP_EOL;
56 $output .=
"Exception: {$ex->getMessage()}";
67 $events->registerHandler(
'init',
'system',
'_elgg_cron_init');
elgg_signed_request_gatekeeper()
Validates if the HMAC signature of the current request is valid Issues 403 response if signature is i...
catch(LoginException $e) if($request->isXhr()) $output
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Base class for events and hooks.
elgg_set_config($name, $value)
Set an Elgg configuration value.
elgg echo
Translates a string.
_elgg_cron_init()
Cron initialization.
elgg_register_menu_item($menu_name, $menu_item)
Register an item for an Elgg menu.
_elgg_cron_page_handler($segments)
/cron handler
_elgg_config()
Get the Elgg config service.
_elgg_services()
Get the global service provider.