[[ $timestamp -lt $last_ts ]]
This commit is contained in:
parent
49d2aa56ff
commit
0e25807292
|
@ -60,7 +60,7 @@ do
|
||||||
timestamp=$(printf %s "$msg" | jq -r .value.timestamp)
|
timestamp=$(printf %s "$msg" | jq -r .value.timestamp)
|
||||||
|
|
||||||
# TEST CURRENT NODE last_ts
|
# TEST CURRENT NODE last_ts
|
||||||
[[ $timestamp == $last_ts ]] && echo "ALREADY DONE" && continue
|
[[ $timestamp -lt $last_ts ]] && echo "ALREADY DONE" && continue
|
||||||
|
|
||||||
# SWARM REFRESH
|
# SWARM REFRESH
|
||||||
$MY_PATH/ipfs_SWARM_refresh.sh
|
$MY_PATH/ipfs_SWARM_refresh.sh
|
||||||
|
|
|
@ -59,7 +59,7 @@ do
|
||||||
timestamp=$(printf %s "$msg" | jq -r .value.timestamp)
|
timestamp=$(printf %s "$msg" | jq -r .value.timestamp)
|
||||||
|
|
||||||
# TEST CURRENT NODE last_ts
|
# TEST CURRENT NODE last_ts
|
||||||
[[ $timestamp == $last_ts ]] && echo "ALREADY DONE" && continue
|
[[ $timestamp -lt $last_ts ]] && echo "ALREADY DONE $msg_key" && continue
|
||||||
|
|
||||||
# SWARM REFRESH
|
# SWARM REFRESH
|
||||||
$MY_PATH/ipfs_SWARM_refresh.sh
|
$MY_PATH/ipfs_SWARM_refresh.sh
|
||||||
|
|
Loading…
Reference in New Issue