cron.php 369 Bytes
Newer Older
Dries's avatar
 
Dries committed
1
<?php
2
// $Id$
Dries's avatar
 
Dries committed
3

Dries's avatar
 
Dries committed
4
include_once "includes/bootstrap.inc";
5
include_once "includes/common.inc";
Dries's avatar
 
Dries committed
6

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

11
if (!ini_get("safe_mode")) {
Dries's avatar
 
Dries committed
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):
*/

Dries's avatar
 
Dries committed
19
module_invoke_all("cron");
Dries's avatar
 
Dries committed
20

21
watchdog('regular', t('cron run completed'));
Dries's avatar
 
Dries committed
22
?>