forked from LeineLab-Public/lab-signal-bot
fixup
This commit is contained in:
parent
0f8284afce
commit
83802d5232
@ -4,22 +4,22 @@
|
|||||||
week=$(expr $(date +%s) / 604800 % 4)
|
week=$(expr $(date +%s) / 604800 % 4)
|
||||||
|
|
||||||
case $week in
|
case $week in
|
||||||
1)
|
0)
|
||||||
/usr/bin/docker exec lab-signal-bot-lab-bot-1 \
|
/usr/bin/docker exec lab-signal-bot-lab-bot-1 \
|
||||||
python create_task.py "LeineLab putzen" 2 "in 7 days" \
|
python create_task.py "LeineLab putzen" 2 "in 7 days" \
|
||||||
--pad-template-url "https://pad.leinelab.org/leinelab-putzen-only-weekly"
|
--pad-template-url "https://pad.leinelab.org/leinelab-putzen-only-weekly"
|
||||||
;;
|
;;
|
||||||
2)
|
1)
|
||||||
/usr/bin/docker exec lab-signal-bot-lab-bot-1 \
|
/usr/bin/docker exec lab-signal-bot-lab-bot-1 \
|
||||||
python create_task.py "LeineLab putzen" 4 "in 7 days" \
|
python create_task.py "LeineLab putzen" 4 "in 7 days" \
|
||||||
--pad-template-url "https://pad.leinelab.org/leinelab-putzen-fortnightly"
|
--pad-template-url "https://pad.leinelab.org/leinelab-putzen-fortnightly"
|
||||||
;;
|
;;
|
||||||
3)
|
2)
|
||||||
/usr/bin/docker exec lab-signal-bot-lab-bot-1 \
|
/usr/bin/docker exec lab-signal-bot-lab-bot-1 \
|
||||||
python create_task.py "LeineLab putzen" 4 "in 7 days" \
|
python create_task.py "LeineLab putzen" 4 "in 7 days" \
|
||||||
--pad-template-url "https://pad.leinelab.org/leinelab-putzen-monthly"
|
--pad-template-url "https://pad.leinelab.org/leinelab-putzen-monthly"
|
||||||
;;
|
;;
|
||||||
4)
|
3)
|
||||||
/usr/bin/docker exec lab-signal-bot-lab-bot-1 \
|
/usr/bin/docker exec lab-signal-bot-lab-bot-1 \
|
||||||
python create_task.py "LeineLab putzen" 4 "in 7 days" \
|
python create_task.py "LeineLab putzen" 4 "in 7 days" \
|
||||||
--pad-template-url "https://pad.leinelab.org/leinelab-putzen-fortnightly"
|
--pad-template-url "https://pad.leinelab.org/leinelab-putzen-fortnightly"
|
||||||
|
Loading…
Reference in New Issue
Block a user