Update temp.inc.sh

This commit is contained in:
2024-01-01 12:40:12 -06:00
parent 5f56848d99
commit 2614c7c144

View File

@@ -273,7 +273,7 @@ CHECKTEMP_SERVICE(){
SCAN_THREADS=4
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - 'Check Temp' Service Startup" >> ${PW_LOGFILE}
SENDTEMPS "TEMP Service Startup" &
[ -d ${PW_TMPFOLDER}/.lastinsert ] && mkdir ${PW_TMPFOLDER}/.lastinsert
[ ! -d ${PW_TMPFOLDER}/.lastinsert ] && mkdir ${PW_TMPFOLDER}/.lastinsert
[ -d ${PW_TMPFOLDER}/.lasttemp ] && rm -Rf ${PW_TMPFOLDER}/.lasttemp
mkdir ${PW_TMPFOLDER}/.lasttemp
rm -f ${PW_TMPFOLDER}/ztemprun.*