From 0fbe606cbfb1c17a1c46d7bb2d786f528f26bc9f Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 7 Jan 2024 00:27:48 +0100 Subject: [PATCH] ok --- 20h12.process.sh | 2 +- RUNTIME/PLAYER.refresh.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/20h12.process.sh b/20h12.process.sh index 1c5c6845..fcc446d7 100755 --- a/20h12.process.sh +++ b/20h12.process.sh @@ -109,6 +109,6 @@ echo "IPFS LOW MODE ?" && echo "ON. $LOWMODE" \ && sleep 360 \ && sudo systemctl stop ipfs \ - || { echo "OFF. RESTART IPFS" && sudo systemctl restart ipfs; } + || { echo "OFF. RESTART IPFS" && sleep 360 && sudo systemctl restart ipfs; } exit 0 diff --git a/RUNTIME/PLAYER.refresh.sh b/RUNTIME/PLAYER.refresh.sh index 7d155ced..3c0f4d63 100755 --- a/RUNTIME/PLAYER.refresh.sh +++ b/RUNTIME/PLAYER.refresh.sh @@ -324,7 +324,7 @@ for PLAYER in ${PLAYERONE[@]}; do && SBIRTH=$(${MY_PATH}/../tools/MOATS2seconds.sh ${BIRTHDATE}) \ && SNOW=$(${MY_PATH}/../tools/MOATS2seconds.sh ${MOATS}) \ && [[ $(( SNOW - SBIRTH )) -gt $(( 27 * 24 * 60 * 60 )) ]] \ - && echo "

WARNNG.

Your TW will be UNPLUGGED in 3 days : " > ~/.zen/tmp/alert \ + && echo "

WARNING.

Publish or your TW will be UNPLUGGED from Astroport and stop being published..." > ~/.zen/tmp/alert \ && echo " ${PLAYER} TW " >> ~/.zen/tmp/alert \ && ${MY_PATH}/../tools/mailjet.sh "${PLAYER}" ~/.zen/tmp/alert \ && [[ $(( SNOW - SBIRTH )) > $(( 30 * 24 * 60 * 60 )) ]] \