cron.php 370 Bytes
Newer Older
1
<?php
2
// $Id$
3

4
include_once "includes/bootstrap.inc";
5
include_once "includes/common.inc";
6

Dries's avatar
Dries committed
7 8 9 10
/*
** If not in 'safe mode', increase the maximum execution time:
*/

Dries's avatar
Dries committed
11
if (!get_cfg_var("safe_mode")) {
12
  set_time_limit(240);
Dries's avatar
Dries committed
13 14 15 16 17 18
}

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

19
module_invoke_all("cron");
20

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