now
This commit is contained in:
parent
537c68ec98
commit
fc0b00e570
|
@ -4,6 +4,12 @@
|
||||||
# Version: 0.1
|
# Version: 0.1
|
||||||
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
|
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
|
||||||
###########################################################################################
|
###########################################################################################
|
||||||
|
MY_PATH="`dirname \"$0\"`" # relative
|
||||||
|
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
||||||
|
########################################################################
|
||||||
|
# \\///
|
||||||
|
# qo-op
|
||||||
|
#############
|
||||||
# cron_G1TAG_REFRESH.sh
|
# cron_G1TAG_REFRESH.sh
|
||||||
# Scan all TAG created by current $IPFSNODEID
|
# Scan all TAG created by current $IPFSNODEID
|
||||||
# Update local and Publish it
|
# Update local and Publish it
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
duniter.moul.re:443
|
duniter.moul.re:443
|
||||||
g1.duniter.fr:443
|
|
||||||
g1.duniter.org:443
|
g1.duniter.org:443
|
||||||
g1.le-sou.org:443
|
|
||||||
g1.monnaielibreoccitanie.org:443
|
|
||||||
g1.presles.fr:443
|
g1.presles.fr:443
|
||||||
|
|
|
@ -45,7 +45,7 @@ for result in $(find billets/ -daystart -mtime +$vieux -type d -name "*"); do
|
||||||
if [[ "$virement" == "0.0" ]]; then
|
if [[ "$virement" == "0.0" ]]; then
|
||||||
echo "G1Billet déjà vide, suppression de $result"; rm -Rf $result;
|
echo "G1Billet déjà vide, suppression de $result"; rm -Rf $result;
|
||||||
else
|
else
|
||||||
PAY=$(/usr/local/bin/silkaj -p duniter-g1.p2p.legal:443 tx --amount="$virement" --output="$dest" --comment="[G1Billet] $numero" -y)
|
PAY=$(/usr/local/bin/silkaj -p g1.presles.fr:443 tx --amount="$virement" --output="$dest" --comment="[G1Billet] $numero" -y)
|
||||||
if [[ ! $(echo $PAY | grep "successfully sent") ]]; then
|
if [[ ! $(echo $PAY | grep "successfully sent") ]]; then
|
||||||
echo "!!!! ERREUR: $virement Something Wrong happened with $result. Moving to /tmp/ERROR_BILL_$billetname (please check or remove)"
|
echo "!!!! ERREUR: $virement Something Wrong happened with $result. Moving to /tmp/ERROR_BILL_$billetname (please check or remove)"
|
||||||
mkdir -p /tmp/ERROR_BILL_$billetname
|
mkdir -p /tmp/ERROR_BILL_$billetname
|
||||||
|
|
|
@ -65,7 +65,7 @@ security
|
||||||
##################################################################
|
##################################################################
|
||||||
# Refresh All peers SWARM Wallets.
|
# Refresh All peers SWARM Wallets.
|
||||||
##################################################################
|
##################################################################
|
||||||
ipfs_swarm_wallets_refresh
|
# ipfs_swarm_wallets_refresh
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Check if PHONE is already registred in G1sms+ SWARM
|
# Check if PHONE is already registred in G1sms+ SWARM
|
||||||
|
|
Loading…
Reference in New Issue