how do I perform tasks every 24hours?
I am on a shared server using php to control mySQL databases. I have written a php script that I would like to execute once a day (at the beginning of the day). Problem is, I have NO IDEA how to do this. I'm not new to php or mySQL but my knowledge of what I can do with my hosting options is limited.How can I get this script to run every day?
If you need to know, the script looks for any mySQL rows that have an expiry date prior to today's date and then deletes them. I know the script will run fine, but how can I get it to run on its own?
Thanks
irf2k