Update temp.inc.sh
This commit is contained in:
@@ -273,7 +273,7 @@ CHECKTEMP_SERVICE(){
|
|||||||
SCAN_THREADS=4
|
SCAN_THREADS=4
|
||||||
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - 'Check Temp' Service Startup" >> ${PW_LOGFILE}
|
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - 'Check Temp' Service Startup" >> ${PW_LOGFILE}
|
||||||
SENDTEMPS "TEMP Service Startup" &
|
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
|
[ -d ${PW_TMPFOLDER}/.lasttemp ] && rm -Rf ${PW_TMPFOLDER}/.lasttemp
|
||||||
mkdir ${PW_TMPFOLDER}/.lasttemp
|
mkdir ${PW_TMPFOLDER}/.lasttemp
|
||||||
rm -f ${PW_TMPFOLDER}/ztemprun.*
|
rm -f ${PW_TMPFOLDER}/ztemprun.*
|
||||||
|
|||||||
Reference in New Issue
Block a user