I have a php script that grabs links from another website. I am storing these links in my local system database using wamp server but my internet speed is so slow. I have to refresh the php script in browser after every 10 records.
So, can I run this PHP script on my webhosting server continuously for 24 hours and store all the links same as my local system. If it is possible then please help me.
Type in
crontab -ein the/a terminal or through PuTTy on your server, entersomething to the like of the code below, where m is minutes, h is hours, dom
is days of the month, etc etc etc
This will run it every five minutes.
If you want to run it continuously (which it doesn’t really do), it needs to be run piece wise, something like this would work, which would run it from 9.30-17.30 every day.
Here are the basics of cron, I suggest you read them.
Cron and Crontab