summaryrefslogtreecommitdiff
path: root/cron.php
blob: ebde1b30b21c08f90f4e20cc614c4bb635fc9766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?

include "includes/theme.inc";
include "includes/cron.inc";

$result = db_query("SELECT * FROM cron");

while ($cron = db_fetch_object($result)) {
  if (time() - $cron->timestamp > $cron->scheduled) cron_execute($cron);
}

?>