重新加载页面然后重新加载而不更改内容

I have a bit of javascript that posts to a php, every second, which checks a schedule and basically returns "refresh" if the start time is met then returns refresh when the end time is met.

if "refresh" it reloads the page showing what its suppose to.

function checkSchedules(){
  if(sch_timer)
    clearInterval(sch_timer)
 $.ajax({
  url:'checkSchedule_test.php?mediaID='+mediaIDArray[schCount],
  type:'GET',
  complete: function (response) {

       if(response.responseText == "refresh"){
           location.reload(true);
       }          

  },
  error: function () {
      alert('Sorry there was an error!');
  },
})
sch_timer = setTimeout(checkSchedules,1000);
schCount = (schCount >= urlArray.length - 1)? -1 : schCount
++schCount
}

in the php

if ($current_date>=$startDate && $current_date<=$endDate){
    if ($current_time >= $startTime && $current_time <= $endTime){
 $timeout = $endTime - $current_time;
 if ($current_time >= $startTime && $current_time <= ($startTime+3000)){
    echo "refresh";
 }
if($timeout<=3000){
    echo "refresh";
}
    }
}

when the start time is met it refreshes fine, works great. then when the end time is met it refreshes but the contents the same. if I hit refresh it works fine.

I've tried different methods of reload() (document.reload, etc...)

Has anyone got any ideas?

Cheers

use console to understand what is returning from server

use debug() or console.log() for understand what is returning from php ... reload script is correct issue will be during ajax