1<script>
2 window.setInterval('refresh()', 10000);
3 // Call a function every 10000 milliseconds
4 // (OR 10 seconds).
5
6 // Refresh or reload page.
7 function refresh() {
8 window .location.reload();
9 }
10</script>
1//BY JS
2setTimeout(function() {
3 location.reload();
4}, 30000);
5//NOTE: YOU COULD DO IT BY HTML5 LIKE THIS:
6<meta http-equiv="refresh" content="30"/>
7