From a6760a5857a719e50e956f882f6ba0ae81f3d4cb Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 11 Aug 2023 15:10:54 +0200 Subject: extract reading and sending messages into separate script --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run.sh') diff --git a/run.sh b/run.sh index 6f47929..0e487d5 100755 --- a/run.sh +++ b/run.sh @@ -19,7 +19,7 @@ do d=$(date -Ins) week=$(date +%U) - signal-cli --output=json -u ${GSB_USER} receive | tee msgs/msg${d}.log | python3 geldschieberbot.py + signal-cli --output=json -u ${GSB_USER} receive | tee msgs/msg${d}.log | python3 single_shot.py # only keep non empty logs [[ $(du msgs/msg${d}.log | cut -f 1) == 0 ]] && rm msgs/msg${d}.log -- cgit v1.2.3