Browse Source

gchange_INIT.sh every 20 mn

master
qo-op 1 year ago
parent
commit
b6f781d718
  1. 13
      cron_MINUTE.sh

13
cron_MINUTE.sh

@ -151,16 +151,15 @@ echo '
#
# MAINTENANCE
'
sleep $((1 + RANDOM % 10)) && $MY_PATH/zen/gchange_INIT.sh &
sleep $((1 + RANDOM % 5)) ### Be careful if random sleep is not activated...
sleep $((1 + RANDOM % 15)) ### Be careful if random sleep is not activated...
############################## That swarm could become an aggressive blob !!
### PEACE & LOVE software is processing... We are HyperWeb people here.
# DEFCON 5 quiet behaviour so Please keep cool, take care and be zen.
# GOOD BYE GOOGLE, AMAZON, FACEBOOK, APPLE, MICROSOFT. LIBRE WE ARE.
####################################################################
# REFRESH & UPGRADE youtube-dl
youtube-dl --rm-cache-dir
youtube-dl -U
youtube-dl --rm-cache-dir
youtube-dl -U
##################################################################
@ -177,12 +176,12 @@ echo '
availableDiskSize=$(df -P ~/ | awk 'NR>1{sum+=$4}END{print sum}')
diskSize="$((availableDiskSize / 2))"
ipfs config Datastore.StorageMax $diskSize
echo "StorageMax = $diskSize"
echo "StorageMax = $diskSize"
# LOG ROTATE
[[ -f /tmp/astroport.log ]] && tar cvzf ~/.zen/astroport.$weeknumber.log.tgz /tmp/astroport.log && echo "" > /tmp/astroport.log
[[ -f /tmp/astroport.log ]] && tar cvzf ~/.zen/astroport.$weeknumber.log.tgz /tmp/astroport.log && echo "" > /tmp/astroport.log
fi
fi
##################################################################

Loading…
Cancel
Save