run on primary numbers interval

This commit is contained in:
fred 2021-08-06 22:49:22 +02:00
parent 12a85be444
commit 2571508f76
1 changed files with 3 additions and 3 deletions

View File

@ -185,11 +185,11 @@ fi
##################################################################
# TODO: IDEA make gchange/ipfs/ipns refresh speed depending on ipfs swarm size and DEFCON level !
## SYNC GCHANGE EVERY 2 hours runtime
[[ $(($runtime % 120)) == 0 ]] && $MY_PATH/zen/gchange_INIT.sh &
[[ $(($runtime % 97)) == 0 ]] && $MY_PATH/zen/gchange_INIT.sh
## SYNC SWARM EVERY 20 mn runtime
[[ $(($runtime % 20)) == 0 ]] && $MY_PATH/zen/gchange_IPFS_swarm.sh &
[[ $(($runtime % 17)) == 0 ]] && $MY_PATH/zen/gchange_IPFS_swarm.sh
# QUICK SYNC SWARM EVERY 12 minutes
[[ $(($runtime % 12)) == 0 ]] && $MY_PATH/zen/ipfs_FRIENDS_refresh.sh &
[[ $(($runtime % 11)) == 0 ]] && $MY_PATH/zen/ipfs_FRIENDS_refresh.sh
########################################################################
# ACTIVATE ~/astroport directory monitoring (xbian only)