Arduino read .txt from Internet

Hi, I am new to arduino and I need some help.

Is it possible to read .txt file from Internet every couple of seconds? I have tried with DnsWebClient Example, but it happens only once. How can I get my readings every 5 seconds?

This should do it. It is set to reload at 30 seconds, but you can change that.