Update temp.inc.sh

This commit is contained in:
2023-12-26 20:32:34 -06:00
parent 78e817c981
commit 6fab325463

View File

@@ -327,6 +327,7 @@ CHECKTEMP_SERVICE(){
${PW_TMPFOLDER}/zservicerun.${SENSORa}.done
}
CHECKTEMP_SERVICE_RUNSENSOR(){
start_sub=`date +%s`
SENSORa=${1}
logtemp=${PW_LOGFOLDER}/log-temp-${SENSORa}
[ ! -f ${logtemp} ] && touch ${logtemp}
@@ -640,6 +641,7 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
fi
fi
touch ${PW_TMPFOLDER}/zservicerun.${SENSORa}.done
end_sub=`date +%s`; runtime_sub=$((end_sub-start_sub)); echo "${SENSORa} - runtime: ${runtime_sub}s"
}
DAILYTEMP(){