I want to write some image downloader and assign it on bash. What I have and what I need:
I have:
wget
The command watch will do this for you straight up. It also displays the result in a nice way.
watch
$ watch -n 1 date
Substitute date for your command. The -n option specifies the interval in seconds.
date
-n