how would I make this pause for 10mins then start back up and continuously loop…
#!/bin/sh
for page in {1..50}
do
wget -q -U Mozilla "http://www.domain.com/cat_search/item.html?p=$page" -O - \
| tr '"' '\n' | grep "^Item photo for " | cut -d ' ' -f 4 >> bpitem.txt
sleep 15
done
Enclose the code in a while like this: