Update temp.inc.sh
This commit is contained in:
@@ -1353,7 +1353,7 @@ Previous Temp: ${last_temp}${GAUGESH}"
|
|||||||
fi
|
fi
|
||||||
entityid=${entityid[1]}
|
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
|
done
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user