diff --git a/putzen.sh b/putzen.sh new file mode 100644 index 0000000..d165ec1 --- /dev/null +++ b/putzen.sh @@ -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