bug 1
This commit is contained in:
parent
81e7930e1a
commit
a773872558
|
@ -54,6 +54,10 @@ git pull
|
||||||
${MY_PATH}/youtube-dl.sh
|
${MY_PATH}/youtube-dl.sh
|
||||||
sudo youtube-dl -U
|
sudo youtube-dl -U
|
||||||
|
|
||||||
|
## DRAGON SSH WOT
|
||||||
|
echo "DRAGONS WOT OFF"
|
||||||
|
${MY_PATH}/RUNTIME/DRAGON_p2p_ssh.sh off
|
||||||
|
|
||||||
## PING BOOSTRAP & SWARM NODES
|
## PING BOOSTRAP & SWARM NODES
|
||||||
${MY_PATH}/ping_bootstrap.sh > /dev/null 2>&1
|
${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 "DURATION ${hours} hours ${minutes} minutes ${seconds} seconds"
|
||||||
echo "20H12 (♥‿‿♥) Execution time was $dur 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 ##
|
## MAIL LOG : support@qo-op.com ##
|
||||||
${MY_PATH}/tools/mailjet.sh "support@qo-op.com" "/tmp/20h12.log" "20H12"
|
${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
|
espeak "DURATION ${hours} hours ${minutes} minutes ${seconds} seconds" > /dev/null 2>&1
|
||||||
|
|
||||||
|
## RESTART
|
||||||
|
|
||||||
# espeak "Restarting Astroport Services" > /dev/null 2>&1
|
# espeak "Restarting Astroport Services" > /dev/null 2>&1
|
||||||
## CLOSING API PORT
|
## CLOSING API PORT
|
||||||
[[ -s ~/.zen/.pid ]] && kill -9 $(cat ~/.zen/.pid) > /dev/null 2>&1
|
[[ -s ~/.zen/.pid ]] && kill -9 $(cat ~/.zen/.pid) > /dev/null 2>&1
|
||||||
|
|
|
@ -308,7 +308,7 @@ for UMAP in ${unique_combined[@]}; do
|
||||||
jq --argjson target_lat "$target_lat" \
|
jq --argjson target_lat "$target_lat" \
|
||||||
--argjson target_lon "$target_lon" \
|
--argjson target_lon "$target_lon" \
|
||||||
--argjson precision "$precision" \
|
--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
|
> ~/.zen/tmp/${MOATS}/${UMAP}/wallets.json
|
||||||
|
|
||||||
echo "MAKING _index.p4n.html with ./templates/P4N/index.html"
|
echo "MAKING _index.p4n.html with ./templates/P4N/index.html"
|
||||||
|
|
Loading…
Reference in New Issue