Hi
I need a Shell script that will download a text file every second from a http server using wget.
Can anyone provide me any pointers or sample scripts that will help me go about this task ???
regards
techie
Hi
I need a Shell script that will download a text file every second from a http server using wget.
Can anyone provide me any pointers or sample scripts that will help me go about this task ???
regards
techie
Every second? Will the file be downloaded in a second? I downloaded a 653KB file from a local system and the command took about 6 seconds to complete.
Anyway, try this:
while true; do
wget <rest of the options>
sleep 1
done