$MY_PATH/ipfs_SWARM_refresh.sh

This commit is contained in:
qo-op 2020-04-28 14:42:00 +02:00
parent eb99f7646f
commit 6185031112
3 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,7 @@ echo $timebar
##################################################################
# REFRESH IPFS SWARM DATA EVERY 12 minutes
[[ $(($minute % 12)) == 0 ]] && $MY_PATH/ssb_IPFS_swarm.sh && $MY_PATH/ipfs_SWARM_refresh.sh
[[ $(($minute % 12)) == 0 ]] && $MY_PATH/ssb_IPFS_swarm.sh # && $MY_PATH/ipfs_SWARM_refresh.sh
##################################################################
##################################################################

View File

@ -62,6 +62,7 @@ do
[[ $timestamp == $last_ts ]] && echo "ALREADY DONE" && continue
# TEST if SWARM already made it.
$MY_PATH/ipfs_SWARM_refresh.sh
CHECKSWARM=$(grep -Rwl "$timestamp" ~/.zen/ipfs_swarm/.Qm*/TAG/*/_tag.zensource | tail -n 1 | cut -f 4 -d '/')
[[ $CHECKSWARM ]] && echo "$timestamp ALREADY on NODE $CHECKSWARM. CONTINUE" && continue

View File

@ -61,6 +61,7 @@ do
[[ $timestamp == $last_ts ]] && echo "ALREADY DONE" && continue
# TEST if SWARM already made it.
$MY_PATH/ipfs_SWARM_refresh.sh
CHECKSWARM=$(grep -Rwl "$timestamp" ~/.zen/ipfs_swarm/.Qm*/TAG/*/_tag.zensource | tail -n 1 | cut -f 4 -d '/')
[[ $CHECKSWARM ]] && echo "$timestamp ALREADY on NODE $CHECKSWARM. CONTINUE" && continue