Update power.inc.sh

This commit is contained in:
2025-06-02 22:56:46 -05:00
parent be3ba425ac
commit 6b7ea008f9

View File

@@ -1448,7 +1448,7 @@ POWERLOGGER_SERVICE(){
runEvery=${PW_MYSQL_LOG_INTERVAL_NORMAL}
fi
echo "HERE1: ${runEvery}"
runEvery=$((${runEvery}*60))
runEvery=$((runEvery*60))
echo "HERE1: ${runEvery}"
end=`date +%s`; runtime=$((end-start))
echo -e "script runtime: ${runtime}s"; echo "Sleeping for $(expr ${runEvery} - ${runtime})s"