I am currently developing a website. Users can post ads which are added in a database. I would like to delete these ads when they are more than 60 days old. To do so, I will write a PHP script which will find such ads and delete them from the database.
Right, it's easy. But how do I execute this script without loading a page every day in my browser ? How do I ask to my server to execute it automatically regularly ?
Thanks !
PS : I am on a shared server, not a dedicated one. Does it make cron use not possible ?