From 01efb523b74606a7a8355c4a1d3bb33b9176b955 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 2 Mar 2014 01:45:59 +0100 Subject: [PATCH] Statistics: Changed statistics calculation to 24 hours. --- statistics_json/statistics_json.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/statistics_json/statistics_json.php b/statistics_json/statistics_json.php index 1fe96f515..494904ba1 100644 --- a/statistics_json/statistics_json.php +++ b/statistics_json/statistics_json.php @@ -42,8 +42,8 @@ function statistics_json_cron($a,$b) { $last = get_config('statistics_json','last_calucation'); if($last) { - // Calculate all 6 hours - $next = $last + (360 * 60); + // Calculate every 24 hours + $next = $last + (24 * 60 * 60); if($next > time()) { logger('statistics_json_cron: calculation intervall not reached'); return;