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