diff --git a/20h12.process.sh b/20h12.process.sh index 3369aeba..c10183ca 100755 --- a/20h12.process.sh +++ b/20h12.process.sh @@ -54,6 +54,10 @@ git pull ${MY_PATH}/youtube-dl.sh sudo youtube-dl -U +## DRAGON SSH WOT +echo "DRAGONS WOT OFF" +${MY_PATH}/RUNTIME/DRAGON_p2p_ssh.sh off + ## PING BOOSTRAP & SWARM NODES ${MY_PATH}/ping_bootstrap.sh > /dev/null 2>&1 @@ -96,16 +100,14 @@ seconds=$((dur % 60)) echo "DURATION ${hours} hours ${minutes} minutes ${seconds} seconds" echo "20H12 (♥‿‿♥) Execution time was $dur seconds." -## DRAGON SSH WOT -echo "DRAGONS WOT OFF" -${MY_PATH}/RUNTIME/DRAGON_p2p_ssh.sh off -## RESTART ## MAIL LOG : support@qo-op.com ## ${MY_PATH}/tools/mailjet.sh "support@qo-op.com" "/tmp/20h12.log" "20H12" espeak "DURATION ${hours} hours ${minutes} minutes ${seconds} seconds" > /dev/null 2>&1 +## RESTART + # espeak "Restarting Astroport Services" > /dev/null 2>&1 ## CLOSING API PORT [[ -s ~/.zen/.pid ]] && kill -9 $(cat ~/.zen/.pid) > /dev/null 2>&1 diff --git a/RUNTIME/UPLANET.refresh.sh b/RUNTIME/UPLANET.refresh.sh index 915baa0a..ce04f1df 100755 --- a/RUNTIME/UPLANET.refresh.sh +++ b/RUNTIME/UPLANET.refresh.sh @@ -308,7 +308,7 @@ for UMAP in ${unique_combined[@]}; do jq --argjson target_lat "$target_lat" \ --argjson target_lon "$target_lon" \ --argjson precision "$precision" \ - '.wallets | map(select((.geoPoint.lat | tonumber) >= ($target_lat - $precision) and (.geoPoint.lat | tonumber) <= ($target_lat + $precision) and (.geoPoint.lon | tonumber) >= ($target_lon - $precision) and (.geoPoint.lon | tonumber) <= ($target_lon + $precision)))' wallall.json \ + '.wallets | map(select((.geoPoint.lat | tonumber) >= ($target_lat - $precision) and (.geoPoint.lat | tonumber) <= ($target_lat + $precision) and (.geoPoint.lon | tonumber) >= ($target_lon - $precision) and (.geoPoint.lon | tonumber) <= ($target_lon + $precision)))' ~/.zen/tmp/${MOATS}/${UMAP}/wallall.json \ > ~/.zen/tmp/${MOATS}/${UMAP}/wallets.json echo "MAKING _index.p4n.html with ./templates/P4N/index.html"