This commit is contained in:
2024-01-28 11:03:47 -06:00
parent dbb8c6ed87
commit 76b64032e0
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='2.5.172-01282024'
VERS='2.5.173-01282024'
noheader=' update service dailytemp confsync -r -report '

View File

@@ -337,7 +337,6 @@ CHECKTEMP_SERVICE(){
while true; do
start=$(date +%s)
source ${PW_FOLDER}/defaults.inc
# time="$(date +%H)$(date +%M)"
# if [ ! -f ${PW_TMPFOLDER}/temp.* ] && [ $(date +%H)$(date +%M) -ge 0700 ] && [ $(date +%H)$(date +%M) -lt 0705 ]; then
@@ -378,6 +377,8 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
logtemp=${PW_LOGFOLDER}/log-temp-${SENSORa}
touch ${PW_TMPFOLDER}/ztemprun.${SENSORa}.running
source ${PW_FOLDER}/defaults.inc
[ ! -f ${logtemp} ] && touch ${logtemp}
[ -f ${PW_TMPFOLDER}/ztemprun.${SENSORa}.done ] && rm -f ${PW_TMPFOLDER}/ztemprun.${SENSORa}.done
[ $(expr `date +%s` - $(stat -c %Y ${logtemp})) -ge $(echo "scale=0; ${PW_LOG_INTERVAL_NORMAL}*60" | bc) ] && relog=1 || relog=0