From b745d2428be8a5356c93a2c50e37f6b5653e8964 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 16 Jun 2022 19:29:05 -0500 Subject: [PATCH] Update run.sh --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index fff2882..9912aa6 100755 --- a/run.sh +++ b/run.sh @@ -5,7 +5,7 @@ source /opt/idssys/defaults/colors.inc if [ -f /opt/mm.checking ]; then fd=$(( `date +%s` - `stat -L --format %Y /opt/mm.checking` )) - if [ ${fd} -gt 60 ]; then + if [ ${fd} -gt 900 ]; then rm -f /opt/mm.checking else echo -e "${idsCL[LightCyan]}Try again later, 'mm' program currently in use...${idsCL[Default]}" @@ -67,7 +67,7 @@ if [ ! -f /opt/mm.checking ]; then fi fi /opt/idssys/mediamanager/mm-scripts.sh ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14} - #rm -f /opt/mm.checking + rm -f /opt/mm.checking fi exit 0