Update run
parent
c5adcade26
commit
d3142cf60d
10
run
10
run
|
@ -37,13 +37,5 @@ while [ $count -lt $lim ]; do
|
|||
|
||||
# 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
|
||||
cmd="fwd"
|
||||
|
||||
if [ "$cmd" = "fwd" ]; then echo $(( $pid + 1 )) > pid; fi
|
||||
if [ "$cmd" = "bck" ]; then echo $(( $pid - 1 )) > pid; fi
|
||||
|
||||
count=$(( $count + 1 ));
|
||||
fi
|
||||
|
||||
else echo $(( $pid + 1 )) > pid; count=$(( $count + 1 )); fi;
|
||||
done;
|
Loading…
Reference in New Issue