How to run a script every 10 minutes without a user?

There is a PHP script, it adds the data to the database. It is located on the host now, as to do so would run every 10 minutes without refreshing the pages and user interaction. Ie, the server chased it.
March 12th 20 at 08:43
3 answers
March 12th 20 at 08:45
March 12th 20 at 08:47
If the script does only record in the database, it is much better to use the scheduler already sewn in mysql.
https://habr.com/post/123391/
not all versions like - dalton commented on March 12th 20 at 08:50
Why is it thought version 5.6 or 5.7 - dalton commented on March 12th 20 at 08:53
@dalton, the functionality is already quite old. It's the only thing I can say) - howell commented on March 12th 20 at 08:56
March 12th 20 at 08:49
There is another way to do an infinite iteration (loop), with function of sleep(600) =)

Find more questions by tags PHP