I have a website which stores and shows some data. This data is stored in a MySQL database. I basically have two different PHP scripts:
-One that collects and inserts/updates the data into the database.
-Other that shows the data for the users that visit the website.
I want to automatize the first script so it can collect and update the database data in intervals of time, for example each hour.
I haven't find any solution yet so what I do is executing that first script by myself typing in the url bar:
wwww.mywebsite.es/folder/updatedata.php
I can't figure out a solution where the script isn't executed by an user.
Thanks.