less frequent

This commit is contained in:
olli 2024-11-05 12:36:32 +01:00
parent 2cea87bce7
commit 8b17a7053b

View File

@ -22,7 +22,7 @@
. /dabo/dabo-prep.sh . /dabo/dabo-prep.sh
rm -f asset-histories/*.history.*.csv.levels-calculating rm -f asset-histories/*.history.*.csv.levels-calculating
sleep 12 sleep 120
while true while true
do do
@ -33,6 +33,7 @@ do
# get levels # get levels
get_levels_all get_levels_all
rm -f asset-histories/*.history.*.csv.levels-calculating rm -f asset-histories/*.history.*.csv.levels-calculating
sleep 900 # recalc every 6 hours
sleep 21600
done done