diff --git a/process/cron/run-eressea b/process/cron/run-eressea index dd995e0ce..4186d3872 100755 --- a/process/cron/run-eressea +++ b/process/cron/run-eressea @@ -13,12 +13,15 @@ if [ -d $REPORTS ]; then fi mkdir $REPORTS $BIN/backup-eressea $GAME + +cd $ERESSEA/game-$GAME if [ -d test ]; then touch test/execute.lock fi rm -f execute.lock $BIN/run-turn $GAME touch execute.lock + if [ ! -s $ERESSEA/game-$GAME/orders.$TURN ]; then echo "server did not create orders for turn $TURN in game $GAME" exit 2