summaryrefslogtreecommitdiff
path: root/ausbutler.sh
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-10-10 02:41:36 +0200
committeremkael <emkael@tlen.pl>2018-10-10 02:41:36 +0200
commit7498de04f53b21a9452de026eb78f4f8f8c73d6b (patch)
treef7b9211cfbee5d4b417efb3b712c6cbd3b4ebc8c /ausbutler.sh
parent494d603f5e8b036fd20069d27add66018f144924 (diff)
Automation script
Diffstat (limited to 'ausbutler.sh')
-rwxr-xr-xausbutler.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/ausbutler.sh b/ausbutler.sh
new file mode 100755
index 0000000..c1a9112
--- /dev/null
+++ b/ausbutler.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+cd "$(dirname "$0")"
+while read -r TOURNAMENT
+do
+ ln -sfn configs/config.$TOURNAMENT config
+ python jfrteamy-ausbutler/butler.py calculate generate nowait
+done < tournaments.txt