ja to bym zrobił to na chłopski rozum

np
touch /etc/scrypty/restart_et
joe /etc/scrypty/resstart_et
QUOTE
#!/bin/sh
echo "Restart etded ... l) "
killall -kill eted.x86 # gdzie etded.x86 to nazwa procesu
/usr/sbin/etded # tutaj ścieżka do serwera et ;echo " done

"
potem
chmod +x /etc/scrypty/restart_etpotem edytujesz wpisy w crontab:
echo 0 5 * * * /etc/scrypty/restart_et >> /etc/crontabpotem restartujesz crontab-a:
crontab /etc/crontabI masz codzienny restart o 5 rano

Mozna takie coś jeszcze o wiele bardziej rozbudować... ;-)
Jakies pytania to pisz...
POzdrawiam
p.s2
Po krótkim namyśle stwierdziłem że ładniej by było gdyby zarówno stop, restart jak start serwera był w jednym pliku. Dlatego napisałem taki scrypt:
CODE
#!/bin/sh
# created by ayV!en
echo "Użyj opcji start | restart | stop"
function koniec
{
echo "Zamykanie etded"
killall -kill etded.x86
echo "done..."
}
function startuje
{
cd "/usr/local/games/enemy-territory/" #scieżka tam gdzie jest zaintsalowany etded
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
exec ./etded.x86 "$@" +set fs_game etpro +exec server.cfg # i jeszcze inne opcje
}
if [ "$1" == "restart" ];
then
koniec
delay 1
start
fi
if [ "$1" == "stop" ];
then
koniec
fi
if [ "$1" == "start" ];
then
startuje
fi
Oczywiście jeszcze:
ln -s [tutaj ścieżka do pliku ze scryptem] /usr/sbin/etded2
echo " 0 5 * * * etded2 restart" >> /etc/crontab
crontab /etc/crontab