I am making a web application using PHP. I have a script which tells whether the server is up or down. It works fine when i run it. But i need to put this small script in a page and there it should display the output after every 5 minutes whether the server is up or down.
I don't know how to do this in a web application.