add putzen.sh

This commit is contained in:
lemoer 2024-12-29 02:53:37 +01:00
parent 5c0c521f31
commit e790392250

32
putzen.sh Normal file
View File

@ -0,0 +1,32 @@
#!/bin/sh
if [ -z "$1" ]; then
echo "Usage: $0 [1-4]"
exit 1
fi
case $1 in
1)
/usr/bin/docker exec lab-signal-bot-lab-bot-1 \
python create_task.py "LeineLab putzen" 2 "in 7 days" \
--pad-template-url "https://pad.leinelab.org/leinelab-putzen-only-weekly"
;;
2)
/usr/bin/docker exec lab-signal-bot-lab-bot-1 \
python create_task.py "LeineLab putzen" 4 "in 7 days" \
--pad-template-url "https://pad.leinelab.org/leinelab-putzen-fortnightly"
;;
3)
/usr/bin/docker exec lab-signal-bot-lab-bot-1 \
python create_task.py "LeineLab putzen" 4 "in 7 days" \
--pad-template-url "https://pad.leinelab.org/leinelab-putzen-monthly"
;;
4)
/usr/bin/docker exec lab-signal-bot-lab-bot-1 \
python create_task.py "LeineLab putzen" 4 "in 7 days" \
--pad-template-url "https://pad.leinelab.org/leinelab-putzen-fortnightly"
;;
*)
echo "Invalid choice"
;;
esac