Statistics: Changed statistics calculation to 24 hours.

pull/184/head
Michael Vogel 9 years ago
parent 920e0bada8
commit 01efb523b7
  1. 4
      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;

Loading…
Cancel
Save