From 225a95efa18c8eacd2a6fe01c600c732c865d3ae Mon Sep 17 00:00:00 2001 From: olli Date: Thu, 30 May 2024 17:30:03 +0200 Subject: [PATCH] dabo-prep.sh --- dabo/dabo-bot.sh | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/dabo/dabo-bot.sh b/dabo/dabo-bot.sh index 2229a8d..a9b0371 100755 --- a/dabo/dabo-bot.sh +++ b/dabo/dabo-bot.sh @@ -1,31 +1,9 @@ #!/bin/bash -. /etc/bash/gaboshlib.include - -export LANGUAGE="en_US" - -### CONFIG ### - -BASEPATH=/dabo/htdocs -g_tries=13 -g_tries_delay=23 - -g_wget_opts="--timeout 10 --tries=2 --user-agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36'" - -### FUNCTIONS ### -for bashfunc in $(find ${BASEPATH}/../functions -type f -name "*.sh") -do - . "$bashfunc" -done +. /dabo/dabo-prep.sh ### MAIN ### - -g_signal-notify "STARTING DABO BOT $0" - -# prepare directories -mkdir -p ${BASEPATH}/botdata/asset-histories -mkdir -p ${BASEPATH}/botdata/trade-histories -cd ${BASEPATH}/botdata +g_echo_warn "STARTING DABO BOT $0" touch firstloop export FULL_LOOP=1