I need to update a webpage (eg www.google.com) every 5 seconds, as I have no idea how to do this script.
Can anyone help me?
Thank you
I need to update a webpage (eg www.google.com) every 5 seconds, as I have no idea how to do this script.
Can anyone help me?
Thank you
If you want to call a page every 5 seconds, you can use curl
for this, for example:
watch -n5 "curl http://google.com"
Run this on your terminal, and every 5 seconds the page will be called. To exit press CTRL+C
.