I do not have access to cron jobs as I am on a shared server. I would still like to run an update task on my database at set intervals. How can I best achieve this. Obviously I could check the time in which index.php is executed and if it is on the hour I could include my update script. But then there is a risk of the script not executing (no users request a page at that second) or many executions.
Any ideas?
Are you sure you don’t have access to cron?
You just might…
Edit:
Also, Please don’t attach an update script to index.php at one poor user’s expense every hour…