diff options
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,12 +6,12 @@ function cron_run() { global $repository; $time = time(); - + $result = db_query("SELECT * FROM crons WHERE $time - timestamp > scheduled"); while ($task = db_fetch_object($result)) { if ($repository[$task->module]["cron"]) { - watchdog("message", "cron: executed '". $task->module ."_cron()'"); + watchdog("message", "cron: executed '". $task->module ."_cron()'"); $repository[$task->module]["cron"](); } } |