diff --git a/defaults.inc b/defaults.inc index de3ee62a..bb8b82e0 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,5 +1,5 @@ -VERS='2.5.140-01132024' +VERS='2.5.141-01142024' noheader=' update service dailytemp confsync -r -report ' diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 5cd66e34..9d4d5823 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -701,7 +701,7 @@ Previous Temp: ${last_temp}${GAUGESH}" # if [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "lacrosse" ]; then # ${mysql_conn} -e "USE servermonitor; INSERT INTO sensor_data (\`sensorid\`, \`date\`, \`temp\`) VALUES ('${PW_SENSOR_ID["${SENSORa}-Probe"]}','$(date +'%Y-%m-%d %H:%M:%S')','${temp_probe_f}')" # fi - touch ${PW_TMPFOLDER}/.lastinsert/${SENSOR} + echo "${temp_f}" >| ${PW_TMPFOLDER}/.lastinsert/${SENSOR} fi #### LOGGING OF SERVERROOM SENSOR DIFFERENCE