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