diff --git a/mm-scripts.sh b/mm-scripts.sh index c011d9b..b7d13a8 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -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"