This commit is contained in:
2023-04-30 10:23:27 -05:00
parent 998a6d5a41
commit 6323752fde
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='3.8.192-04232023'
VERS='3.8.200-04232023'
MMFOLDER="/opt/idssys/mediamanager"
MMSRV=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)

View File

@@ -53,7 +53,7 @@ MMCRONCHECK(){
fi
# if [ $(date +%H)$(date +%u) -eq 4 ] && [ $(date +%H)$(date +%M) -ge 0400 ] && [ $(date +%H)$(date +%M) -le 0405 ] ; then
if [ $(date +%H)$(date +%u) -eq 7 ] && [ $(date +%H)$(date +%M) -ge 0400 ] && [ $(date +%H)$(date +%M) -le 0405 ] ; then
if [ $(date +%H)$(date +%M) -ge 0400 ] && [ $(date +%H)$(date +%M) -le 0405 ] ; then
if [ $(expr `date +%s` - $(stat -c %Y ${MMFOLDER}/vers.info)) -ge 600 ]; then
/usr/local/bin/mm update-allservices q >/dev/null 2>&1
echo "$(date) - Updated All Services" >> $logfile