From b326c662844eff55e0bd77b3225371d33cbe3d2e Mon Sep 17 00:00:00 2001 From: Jarell <91372088+jarelllama@users.noreply.github.com> Date: Thu, 28 Mar 2024 20:31:31 +0800 Subject: [PATCH] Test --- parked.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/parked.sh b/parked.sh index 4462c1fef..aa123940e 100644 --- a/parked.sh +++ b/parked.sh @@ -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 @@ -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 @@ -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"