Update mm-scripts.sh

This commit is contained in:
2023-06-30 19:38:28 -05:00
parent a0032d014a
commit 8726f85d48

View File

@@ -50,7 +50,7 @@ MMCRONCHECK(){
echo "update services crontask triggered"
if [ $(expr `date +%s` - $(stat -c %Y ${TMPFOLDER}/vers.info)) -gt 600 ]; then
echo "updating services executing"
/usr/local/bin/mm update-allservices ${1} >/dev/null 2>&1
/usr/local/bin/mm update service all ${1} >/dev/null 2>&1
echo "$(date) - Updated All Services" >> $logfile
else
echo "not updating"