Old 29th June 2011, 17:30   #1
helios399
Junior Member
 
Join Date: Jan 2011
Posts: 34
restart sc_trans with a cron job Linux

Hi all,

I 'll want to restart sc_trans each night (because I want to load a new playlist) with a crontab job Linux...
Can I do that and how ?
With PHP, or a sh...

Is there an other method to load a new playlist without restart sc_trans ?

Thanks all for your advice.

P
helios399 is offline   Reply With Quote
Old 29th June 2011, 17:39   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
see http://wiki.winamp.com/wiki/SHOUTcas...tional_Signals

-daz
DrO is offline   Reply With Quote
Old 29th June 2011, 17:59   #3
helios399
Junior Member
 
Join Date: Jan 2011
Posts: 34
Ok thanks

Sorry, I'm a newbie in Linux

I don't know how to get the <pid> with a cron job...sorry
Can you give me an advice again !

Many thanks

P
helios399 is offline   Reply With Quote
Old 30th June 2011, 08:27   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
you could probably make a grep on the running processes to be able to find that as the pid is stored in the log files but when the logs are (auto)-rotated then it'd be moved into a different file so wouldn't be of much use. there's probably a more elegant way of doing it but that's all which comes to mind at the moment.

-daz
DrO 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