update
This commit is contained in:
@@ -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 '
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user