This commit is contained in:
2025-05-31 14:03:46 -05:00
parent 0e8c7040e1
commit 8aa8fb2050
2 changed files with 7 additions and 7 deletions

View File

@@ -670,7 +670,7 @@ CHECKTEMP(){
done
fi
rm -f ${PW_TMPFOLDER}/.local.fanspeed.*
[ "${avgdays}" != "" ] && [ ${REPORT} -eq 0 ] && end=`date +%s`; runtime=$((end-start)); echo -e "${idsCL[Default]}runtime: ${runtime}s"
[ "${avgdays}" != "" ] && [ ${REPORT} -eq 0 ] && end=`date +%s`; runtime=$((end-start)); echo -e "${idsCL[Default]}script runtime: ${runtime}s"
[ ${REPORT} -eq 0 ] && [ "${PW_ACTION}" != "" ] && echo -e "${idsCL[Default]}"
}
@@ -881,7 +881,7 @@ CHECKTEMP_SERVICE(){
fi
done
end=`date +%s`; runtime=$((end-start))
# echo -e "runtime: ${runtime}s"; [ ${runtime} -lt ${runEvery} ] && echo "Sleeping for $(expr ${runEvery} - ${runtime})s"
# echo -e "script runtime: ${runtime}s"; [ ${runtime} -lt ${runEvery} ] && echo "Sleeping for $(expr ${runEvery} - ${runtime})s"
echo "${log_start}~${runtime}~temp" >> ${PW_LOGFOLDER}/service.scantimes
[ ${runtime} -lt ${runEvery} ] && sleep $(expr ${runEvery} - ${runtime})s
done # &
@@ -1841,7 +1841,7 @@ SERVERROOM_TEMP_DIFFERENCE(){
fi
fi
end=`date +%s`; runtime=$((end-start))
echo -e "\nruntime: ${runtime}s\n"
echo -e "\nscript runtime: ${runtime}s\n"
}
GET_DEFAULT_FANSPEED(){