Update temp.inc.sh

This commit is contained in:
2024-06-01 13:45:54 -05:00
parent 52d7dfef18
commit 6007641a72

View File

@@ -1353,7 +1353,7 @@ Previous Temp: ${last_temp}${GAUGESH}"
fi
entityid=${entityid[1]}
QRY="USE servermonitor; INSERT INTO sensor_data (\`sensorid\`, \`entity\`, \`date\`, \`temp\`) VALUES ('${PW_SENSOR_ID[${SENSORa}]}','${entityid}','$(date +'%Y-%m-%d %H:%M:%S')','${fanrpm}')"
QRY="USE servermonitor; INSERT INTO sensor_data (\`sensorid\`, \`entity\`, \`date\`, \`speed\`) VALUES ('${PW_SENSOR_ID[${SENSORa}]}','${entityid}','$(date +'%Y-%m-%d %H:%M:%S')','${fanrpm}')"
done
fi