From 3abb4fe13ad45bea9d66b902016b02626e9e5e03 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 31 May 2023 19:20:58 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 4a0e98f..1364caf 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -45,13 +45,15 @@ MMCRONCHECK(){ [ ${#OUT} = 0 ] && /bin/ip route add default via 10.10.0.1 fi - if [ -f ${TMPFOLDER}/mm.stop ]; then - /usr/local/bin/mm check q >/dev/null 2>&1 - else - echo -e "$(date) - Starting log #############################" >> ${outputlogfile} - /usr/local/bin/mm check q >> ${outputlogfile} - echo -e "$(date) - Finished log #############################" >> ${outputlogfile} - fi + # if [ -f ${TMPFOLDER}/mm.stop ]; then + # /usr/local/bin/mm check q >/dev/null 2>&1 + # else + # echo -e "$(date) - Starting log #############################" >> ${outputlogfile} + # /usr/local/bin/mm check q >> ${outputlogfile} + # echo -e "$(date) - Finished log #############################" >> ${outputlogfile} + # fi + + # if [ $(date +%H)$(date +%u) -eq 4 ] && [ $(date +%H)$(date +%M) -ge 0400 ] && [ $(date +%H)$(date +%M) -le 0405 ] ; then if [ $(date +%H)$(date +%M) -ge 0400 ] && [ $(date +%H)$(date +%M) -lt 0405 ] ; then