Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Refresh HTML Page in Browser Automatically on Timer - Every 15 Min

Tags:

Is it possible to automatically refresh a website on a timer, like every 15 minutes? Basically, we will be making updates to a website and we want it to automatically refresh so it will show up on a big monitor we have which is controlled from a different computer.

So instead of going to that other computer to click refresh when changes are made, it would just automatically refresh so we can keep it up there.

Thanks!

like image 321
Drew Avatar asked Aug 26 '11 15:08

Drew


People also ask

How do I make HTML refresh automatically?

Approach 1: One can auto refresh the webpage using the meta tag within the head element of your HTML using the http-equiv property. It is an inbuilt property with HTML 5. One can further add the time period of the refresh using the content attribute within the Meta tag.

Can you set a web page to automatically refresh?

Most modern browsers can be equipped with the feature to let you auto-refresh web pages on your computer. These methods even let you specify the duration on which they should reload the page for you. You don't need to be tech savvy to add the feature to your browser.

How do you refresh a browser timer?

Click on the puzzle piece icon, then on “Easy Auto Refresh”. In the popup window, enter the number of seconds after which you want the page to refresh, then click “Start”. The page will automatically refresh every time the timer you set expires.


1 Answers

Place this inside <head> to refresh page after 900 seconds:

<meta http-equiv="refresh" content="900"> <!-- Refresh every 15 minutes --> 

For what it's worth, the w3c has officially deprecated this feature, but browsers continue to support this feature. For your purposes, this is an ideal solution. It's just not a recommended solution for "public" (www)-facing web sites any more.

like image 166
ckittel Avatar answered Oct 14 '22 02:10

ckittel