Update mm-scripts.sh

This commit is contained in:
2023-05-31 19:20:58 -05:00
parent 63613c34af
commit 3abb4fe13a

View File

@@ -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