moth/kothd

15 lines
203 B
Plaintext
Raw Normal View History

2015-04-13 13:14:40 -06:00
#! /bin/sh
cd ${1:-$(dirname $0)}
KOTH_BASE=$(pwd)
2015-04-13 13:14:40 -06:00
echo "Running koth instances in $KOTH_BASE"
while true; do
for i in $KOTH_BASE/*/assigned.txt; do
dir=${i%/*}
$dir/bin/once
done
2015-04-13 13:15:46 -06:00
sleep 5
2015-04-13 13:14:40 -06:00
done