I need to be able to execute either a php or jquery function to update a sql database every certain segment of time, 20 minutes for example, regardless of user activity on the website. Does anyone know the easiest way to do this? Thanks, any help is appreciated.
Share
The easiest way would be to make a PHP script that does the update, then use a CRON Job to run it every 20 minutes.