Old 9th October 2006, 10:50   #1
seekwhencer
Junior Member
 
Join Date: Sep 2006
Posts: 8
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
seekwhencer is offline   Reply With Quote
Old 3rd November 2006, 10:30   #2
VlaDj
Junior Member
 
Join Date: Nov 2006
Posts: 11
in wich server I write the crontab?
and how exactly it should be written?

and you sure that it ends with:
"fi"?
VlaDj is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump