Pod Windows wygląda to tak:
Kod: Zaznacz cały
echo off
title Aries Server
cls
:controllerini
:begin
Aries-XML.exe /REALTIME
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
echo :: Your Server crashed, the restarter is restarting your Server. ::
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
goto :controllerini
Kod: Zaznacz cały
#!/bin/bash
#
# Make your no-cvs sources from otserv run in linux
# by Ulisses - Brasil
# Last update: Mar/2006
#
i=1
while [ $i -le 5000 ]
do
./otserv 2>> ./ots-error.txt
i=`expr $i + 1`
done