I need to add some code to the head of a PHP file. What it needs to do is to check every 10 minutes if a file located in the same folder i.e loadfile.txt - if the file exists then refresh the page. If it doesn't then check the time. If the time is 9am or 10am then reload the page. Basically this code needs to do a check against the time 9am or 10am and also if a file exists. If any of those parameters are correct then reload the page. It also needs to do these checks every 10 minutes or so, so it needs to loop?