@peellpeell
if you know what time is it, why dont set a timer?
run 2 threads, one for waiting 14 minutes (or whatever), second doing your job.
tell first one to set variable to false or true when 14minutes passed, and when that variable is false/true dont load any page in other thread
(PS u might want to use global variables)