From a8b6f46a1413a1d4a562390639dfa5cb6438cb19 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 21 Mar 2024 13:06:12 +0100 Subject: [PATCH] STOP SWARM SYNC 1H BEFORE 20H12 --- _12345.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_12345.sh b/_12345.sh index 2c96a194..0e1c3606 100755 --- a/_12345.sh +++ b/_12345.sh @@ -84,6 +84,10 @@ while true; do lastrun=$(cat ~/.zen/tmp/${IPFSNODEID}/_MySwarm.moats) duree=$(expr ${MOATS} - $lastrun) + ### STOP SWARM SYNC 1H BEFORE 20H12 + [[ $(date +"%H%M") -gt 1912 ]] \ + && echo "$(date +"%H%M") : 20H12 is coming... " && continue + ## FIXING TIC TAC FOR NODE & SWARM REFRESH ( 1H ) if [[ ${duree} -gt 3600000 ]]; then