Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   if sc_trans stops (http://forums.winamp.com/showthread.php?t=257190)

seekwhencer 9th October 2006 10:50

if sc_trans stops
 
Hi,

my sc_trans is still unstable. Here a trick, to start the transcoder automaticaly:

1. Edit your Servers
Crontab :


*/1 * * * * $HOME/yourpath/sc_reload.sh


2. Write the script sc_reload.sh

if [ "$(ps ax |grep "sc_trans" | grep -v grep)" ]
then
sleep 1s
else
cd $HOME/yourpath/
$HOME/yourpath/sc_trans
fi

thats all. have fun!

seek

VlaDj 3rd November 2006 10:30

in wich server I write the crontab?
and how exactly it should be written?

and you sure that it ends with:
"fi"?


All times are GMT. The time now is 13:52.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.