Update mm-scripts.sh
This commit is contained in:
@@ -61,7 +61,7 @@ MMCRONCHECK(){
|
|||||||
elif [ $(date +%H)$(date +%M) -ge 0300 ] && [ $(date +%H)$(date +%M) -le 0305 ] ; then
|
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
|
if [ $(expr `date +%s` - $(stat -c %Y ${MMFOLDER}/.git/index)) -ge 600 ]; then
|
||||||
/usr/local/bin/mm update-allservices >/dev/null 2>&1
|
/usr/local/bin/mm update-allservices >/dev/null 2>&1
|
||||||
echo "$(date) - Updated MM Scripts" >> $logfile
|
echo "$(date) - Updated MM Scripts to v${VERS}" >> $logfile
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user