Update run

master
89wc 2023-09-05 06:10:37 +00:00
parent c5adcade26
commit d3142cf60d
1 changed files with 1 additions and 9 deletions

10
run
View File

@ -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;