diff --git a/RUNTIME/PLAYER.refresh.sh b/RUNTIME/PLAYER.refresh.sh index 394f9326..d519af08 100755 --- a/RUNTIME/PLAYER.refresh.sh +++ b/RUNTIME/PLAYER.refresh.sh @@ -266,7 +266,7 @@ for PLAYER in ${PLAYERONE[@]}; do echo "(☉_☉ ) (☉_☉ ) (☉_☉ ) RSS" ## CREATING 30 DAYS RSS STREAM tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \ - --output ~/.zen/game/players/${PLAYER}/ipfs --render '.' "${PLAYER}.rss.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[days:created[-30]!is[system]]' + --output ~/.zen/game/players/${PLAYER}/ipfs --render '.' "${PLAYER}.rss.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[days:created[-30]!is[system]!tag[G1Voeu]]' [[ ! -s ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json ]] && echo "NO ${PLAYER} RSS - BAD ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json -" ## CHECK FOR EMPTY RSS + 30 DAYS BIRTHDATE diff --git a/ping_bootstrap.sh b/ping_bootstrap.sh index 53096d70..bd9a655a 100755 --- a/ping_bootstrap.sh +++ b/ping_bootstrap.sh @@ -1,8 +1,9 @@ #!/bin/bash -ipfs stats dht wan +ipfs stats dht wan > ~/.zen/tmp/ipfs.stats.dht.wan +cat ~/.zen/tmp/ipfs.stats.dht.wan -for bootnode in $(cat ~/.zen/Astroport.ONE/A_boostrap_nodes.txt | grep -Ev "#" | rev | cut -d '/' -f 1 | rev | grep -v '^[[:space:]]*$') +for bootnode in $(cat ~/.zen/Astroport.ONE/A_boostrap_nodes.txt | grep -Ev "#" | grep -v '^[[:space:]]*$') do echo ipfsnodeid=${bootnode##*/} @@ -12,8 +13,7 @@ for bootnode in $(cat ~/.zen/Astroport.ONE/A_boostrap_nodes.txt | grep -Ev "#" | || echo "BAD NODE $bootnode" echo "*****" + cat ~/.zen/tmp/ipfs.stats.dht.wan | grep $ipfsnodeid + done - - -echo "TODO : search for bootstrap and friends better connectivity"