aboutsummaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-08-11 15:10:54 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-08-11 15:10:54 +0200
commita6760a5857a719e50e956f882f6ba0ae81f3d4cb (patch)
tree4cd4ce7e334b368327cdcd7fb9bcc153f2843c9e /run.sh
parentc5177c7a4e0fb23c245d083d1da79045bbaeb0c5 (diff)
downloadgeldschieberbot-a6760a5857a719e50e956f882f6ba0ae81f3d4cb.tar.gz
geldschieberbot-a6760a5857a719e50e956f882f6ba0ae81f3d4cb.zip
extract reading and sending messages into separate script
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh2
1 files changed, 1 insertions, 1 deletions
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