Update status.inc
This commit is contained in:
@@ -402,7 +402,7 @@ It was down for $(SHOW_TIME $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${
|
|||||||
end=`date +%s`
|
end=`date +%s`
|
||||||
runtime=$((end-start))
|
runtime=$((end-start))
|
||||||
echo -e "Runtime: ${runtime}\n"
|
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(){
|
STATUS_NODE(){
|
||||||
|
|||||||
Reference in New Issue
Block a user