summaryrefslogtreecommitdiff
path: root/cron.php
blob: acfb9507dc71153594e745c3e9069ce73a23a3f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

include_once "includes/common.inc";

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

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

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

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

?>