Update status.inc

This commit is contained in:
2023-12-06 22:55:43 -06:00
parent cc241c9acf
commit cdf3beb5e1

View File

@@ -402,7 +402,7 @@ It was down for $(SHOW_TIME $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${
end=`date +%s`
runtime=$((end-start))
echo -e "Runtime: ${runtime}\n"
[ "${ST_ACTION}" == "report" ] && echo ${runtime} >> ${NM_LOGFOLDER}/status-check.scantimes
[ "${ST_ACTION}" == "report" ] && echo "$(date "+%Y-%m-%d %H:%M:%S")~${runtime}" >> ${NM_LOGFOLDER}/status-check.scantimes
}
STATUS_NODE(){