From: Steve Mack <[EMAIL PROTECTED]>
Subject: Server checking loops

This is trivial under linux.

#!/bin/csh
setenv LD_LIBRARY_PATH .
while(1)
./Bin/rmserver rmserver.cfg >& stdout.`date +%H%M`
sleep 5
end

This restarts the server if it ever goes away.

s.

At 04:03 AM 8/3/99 -0700, you wrote:
>- -----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of RealForum
>Sent: Saturday, July 31, 1999 3:30 AM
>Subject: Testing for running server and encoder
>
>From: "Carlos Eduardo Granier" <[EMAIL PROTECTED]>
>Subject: Testing for running server and encoder
>
>Does anyone have a script or solution that would check if the Server has
>stopped running and restart it? We broadcast live 24 hours and the server
>has a tendency to crash at the oddest hours.
>
>Thanks for any help,
>
>Carlos E. Granier
>www.rctv.net

Reply via email to