Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Mar 28, 2024
1 parent 500505c commit b326c66
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions parked.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function add_unparked_domains {
check_for_unparked "x06" & check_for_unparked "x07" &
check_for_unparked "x08" & check_for_unparked "x09"

sleep 10
sleep 5

[[ ! -f unparked_domains.tmp ]] && return
format_list unparked_domains.tmp
Expand All @@ -53,7 +53,7 @@ function remove_parked_domains {
check_for_parked "x06" & check_for_parked "x07" &
check_for_parked "x08" & check_for_parked "x09"

sleep 10
sleep 5

[[ ! -f parked_domains.tmp ]] && return
format_list parked_domains.tmp
Expand All @@ -78,7 +78,8 @@ function check_for_unparked {
fi
if [[ "$2" == 'main' ]]; then
percentage_count="$((count*100/total))"
((percentage_count % 5 == 0)) && printf "%s%%\n" "$percentage_count"
printf "%s\n" "$count"
#((percentage_count % 5 == 0)) && printf "%s%%\n" "$percentage_count"
((count++))
fi
done < "$1"
Expand Down

0 comments on commit b326c66

Please sign in to comment.