Update status.inc

This commit is contained in:
2023-12-27 12:05:12 -06:00
parent 355790e56c
commit a5c6810107

View File

@@ -921,16 +921,16 @@ STATUS_SCANTIMES(){
unset IFS unset IFS
echo -e "${idsCL[LightCyan]}Last ${lastscansnum} Scan Times\n${idsCL[Green]}------------------------------------------${idsCL[Default]}" echo -e "${idsCL[LightCyan]}Last ${lastscansnum} Scan Times\n${idsCL[Green]}------------------------------------------${idsCL[Default]}"
for scan in "${last_scantimes[@]}"; do for scan in "${last_scantimes[@]}"; do
scandate=$(echo "${scan}" | cut -d '~' -f 1)
scantime=$(echo "${scan}" | cut -d '~' -f 2) scantime=$(echo "${scan}" | cut -d '~' -f 2)
scanrun=$(echo "${scan}" | cut -d '~' -f 3) scanrun=$(echo "${scan}" | cut -d '~' -f 3)
echo -en "${idsCL[White]} ${dt} (${scantime}s) ${idsCL[Yellow]}$(SHOW_TIME ${scantime} s) " echo -en "${idsCL[White]} ${scandate} (${scantime}s) ${idsCL[Yellow]}$(SHOW_TIME ${scantime} s) "
if [ ${scantime} -ge 30 ] && [ ${scantime} -le 60 ]; then if [ ${scanrun} -eq 1]; then
echo -e "<-- Replication Run${idsCL[Default]}" echo "<-- Replication Run"
elif [ ${scantime} -gt 60 ]; then
echo -e "${idsCL[LightRed]}<-- Extreme Run${idsCL[Default]}"
else else
echo echo
fi fi
echo -e "${idsCL[Default]}"
done done
fi fi
fi fi