-
George Salukvadze authored
- Started cache testing for histogram
George Salukvadze authored- Started cache testing for histogram
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
<?php
set_time_limit(0);
ini_set('memory_limit', '6G');
ini_set('error_reporting', E_ALL);
ini_set('display_errors', true);
$elemId = $_GET["elemId"];
$week = date( strtotime('-7 days') );
//echo $week;
$data = "";
for ($i = $week; $i < date(strtotime('-3 days')); $i+=86400) {
$json = file_get_contents('http://epdtdi-vm-01.cern.ch:5000/day/'. date('Y-m-d', $i) .'/'.$elemId);
$data .= $json;
}
echo $data;
?>