Update run
parent
d3142cf60d
commit
50d089b7aa
5
run
5
run
|
@ -36,6 +36,7 @@ while [ $count -lt $lim ]; do
|
|||
if [ $(echo "$url" | cut -d ' ' -f1) != "error" ]; then echo "POST IT"; $(./reply_post "$pid" "$url" > /dev/null); fi;
|
||||
|
||||
# The post id will not be incremented if there are five 404's in a row.
|
||||
if [ $finishcount -gt 4 ]; then echo "finish counter: $finishcount"; sleep 60;
|
||||
else echo $(( $pid + 1 )) > pid; count=$(( $count + 1 )); fi;
|
||||
if [ $finishcount -lt 5 ]; then echo $(( $pid + 1 )) > pid; fi;
|
||||
|
||||
count=$(( $count + 1 ));
|
||||
done;
|
Loading…
Reference in New Issue