cleanup on beginning

This commit is contained in:
olli 2023-11-09 14:29:23 +01:00
parent 62eedf2162
commit 5616a75ddd

View File

@ -8,6 +8,10 @@
g_nice g_nice
# cleanup
rm -r /tmp/parallel-* /tmp/overall-result-* /tmp/g_analyze.sh-*
function g_echo_note { function g_echo_note {
[ -z "$1" ] && return 0 [ -z "$1" ] && return 0
echo -en "\033[97m$(tail -n1 ${g_tmp}/$tmpfile | cut -d, -f1) \033[36mNOTE:" echo -en "\033[97m$(tail -n1 ${g_tmp}/$tmpfile | cut -d, -f1) \033[36mNOTE:"
@ -245,7 +249,4 @@ echo "
Trades" >>analyze-${analyzedate}/overall-result.log Trades" >>analyze-${analyzedate}/overall-result.log
egrep "BUY: |SELL: " analyze-${analyzedate}/analyze-overall.log >>analyze-${analyzedate}/overall-result.log egrep "BUY: |SELL: " analyze-${analyzedate}/analyze-overall.log >>analyze-${analyzedate}/overall-result.log
# cleanup
rm -r /tmp/parallel-* /tmp/overall-result-* /tmp/g_analyze.sh-*