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
#!/bin/bash cd /download/directory while true ; do wget http://some/file/somewhere.txt sleep 1 done
HTH
-- Lew
Have something to add? Share your thoughts — no account required.
Ask the community — no account required