Update mm-scripts.sh

This commit is contained in:
2023-04-29 21:22:34 -05:00
parent b55805b958
commit 68b84067d2

View File

@@ -57,12 +57,12 @@ MMCRONCHECK(){
if [ $(expr `date +%s` - $(stat -c %Y ${MMFOLDER}/vers.info)) -ge 600 ]; then
/usr/local/bin/mm update-allservices >/dev/null 2>&1
echo "$(date) - Updated All Services" >> $logfile
}
fi
elif [ $(date +%H)$(date +%M) -ge 0300 ] && [ $(date +%H)$(date +%M) -le 0305 ] ; then
if [ $(expr `date +%s` - $(stat -c %Y ${MMFOLDER}/.git/index)) -ge 600 ]; then
/usr/local/bin/mm update-allservices >/dev/null 2>&1
echo "$(date) - Updated MM Scripts" >> $logfile
}
fi
fi