To 'refresh' a page is to reload it, generally in a browser window.
It sounds like you want to call a page to make some code run. This means your code should be in a script technically, not part of a webpage but you can still achieve what you need.
You'll need access to your cron tab if you are on a linux server or the scheduled tasks manager on windows.
In linux you would enter this command into the cron tab * * * * * wget -O - http://your-website-page/some-page.php >/dev/null 2>&1
The asterixs define at what time it runs, from left: minutes, hours, day of month, month, day of week. So you can use those to set exactly when and how often it runs.
The stuff at the end just makes sure the output isn't written any where
On windows using scheduled tasks, set up the task to run whenever you need and in the trigger section specify that it calls powershell and enter this as the argument: -ExecutionPolicy unrestricted -Command "(New-Object Net.WebClient).DownloadString(\"http://your-website-page/some-page.php\")"