server/process/cron/run-turn
Enno Rehling 95d0b2a413 add current version of processing scripts
fix a crash in checkpasswd
2015-01-11 01:23:47 +01:00

14 lines
267 B
Text
Executable file

GAME=$1
TURN=$2
if [ ! -d $ERESSEA/game-$GAME ] ; then
echo "No such game: $GAME"
exit 1
fi
cd $ERESSEA/game-$GAME
echo "running turn $TURN, game $GAME"
$ERESSEA/server/bin/eressea -v1 -t $TURN run-turn.lua
mkdir -p log
ln -f eressea.log log/eressea.log.$TURN