From 9edcc7ed987b528c344aaacc110a96e50b0beea5 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 16 May 2023 12:02:25 +0200 Subject: [PATCH] small fixes --- dabo/functions/get_asset.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dabo/functions/get_asset.sh b/dabo/functions/get_asset.sh index 242cb33..c6d1d6c 100644 --- a/dabo/functions/get_asset.sh +++ b/dabo/functions/get_asset.sh @@ -32,7 +32,7 @@ function get_asset { fi f_ASSET_HIST_FILE="asset-histories/${f_ASSET}.history.csv" - if [ ${f_linecount} -lt 30 ] && [ ${f_lines} -ge 50 ] + if [ ${f_linecount} -lt 30 ] && [ ${f_lines} -ge 50 ] && [ ${INTERVAL} -lt 300 ] then g_echo_note "${f_ASSET_HIST_FILE}: set price to 5 minute period" if ! echo "${f_timestamp}" | egrep -q ":[0-5]0:|:[0-5]5:"