diff --git a/inc/status.inc b/inc/status.inc index beb57c8a..41109268 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -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(){