Update mm-scripts.sh
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user