From 0652ef3a7e1ff1951744971d16fc5642e1f7f64d Mon Sep 17 00:00:00 2001 From: olli Date: Wed, 25 Dec 2024 13:31:36 +0100 Subject: [PATCH] fix -delete --- dabo/dabo-bot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dabo/dabo-bot.sh b/dabo/dabo-bot.sh index 0d9b370..5e1d3dc 100755 --- a/dabo/dabo-bot.sh +++ b/dabo/dabo-bot.sh @@ -78,7 +78,7 @@ do fi # clean old data - [ ${FULL_LOOP} = 1 ] && find asset-histories -maxdepth 1 ! -type d ! -name "*.csv" ! -name "*.levels" ! -name "*.zones" ! -name "*.indicators-calculated" -mtime +1 + [ ${FULL_LOOP} = 1 ] && find asset-histories -maxdepth 1 ! -type d ! -name "*.csv" ! -name "*.levels" ! -name "*.zones" ! -name "*.indicators-calculated" -mtime +1 -delete # Get current balance [ ${FULL_LOOP} = 1 ] && get_balance || continue