Skip to content
Snippets Groups Projects
  • Dries Buytaert's avatar
    6db29f35
    · 6db29f35
    Dries Buytaert authored
    - Made cron.php add a watchdog entry upon completion.
    6db29f35
    History
    Dries Buytaert authored
    - Made cron.php add a watchdog entry upon completion.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
cron.php 377 B
<?php
// $Id$

include_once "includes/common.inc";

/*
** If not in 'safe mode', increase the maximum execution time:
*/

if (!get_cfg_var("safe_mode")) {
  set_time_limit(240);
}

/*
** Iterate through the modules calling their cron handlers (if any):
*/

foreach (module_list() as $module) {
  module_invoke($module, "cron");
}

watchdog("message", "cron run completed");
?>