NB> Hello, I'm trying to put a crontab on Ices, but it seems I can't do NB> it, here is the script I tried to use : NB> #!/bin/sh NB> process=`ps axuw | grep ices | grep -v grep` NB> if [ -z "$process"] NB> then NB> cd /home/Darkmeteor/bin NB> nohup /home/Darkmeteor/bin/ices /home/Darkmeteor/bin/ices-playlist.xml > /dev/null 2> start & NB> echo "loaded!" NB> else NB> echo "already running!" NB> fi NB> if I run this file from the shell, it works, but if it's run by NB> crontab, ices isn't loaded. Anyone can help me please ? No one here uses crontab to keep their icecast/ices servers up ? If so do you have any other solution ? -- Best regards, Nicolas mailto:bazin.nicolas@club-internet.fr --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
crontab entries should use absolute paths to scripts, shells, etc. Example: 00 12,18 * * * /home/nezza/bin/alarm.sh <p>runs alarm.sh at noon (1200 hrs) and 6PM (1800 hrs), every day. See also: man 5 crontab __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hello HJ, Wednesday, March 19, 2003, 7:06:18 PM, you wrote: H> crontab entries should use absolute paths to scripts, shells, etc. H> Example: H> 00 12,18 * * * /home/nezza/bin/alarm.sh <p>H> runs alarm.sh at noon (1200 hrs) and 6PM (1800 hrs), every day. H> See also: H> man 5 crontab H> __________________________________________________ H> Do you Yahoo!? H> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! H> http://platinum.yahoo.com --- >>8 ---- H> List archives: http://www.xiph.org/archives/ H> icecast project homepage: http://www.icecast.org/ H> To unsubscribe from this list, send a message to 'icecast-request@xiph.org' H> containing only the word 'unsubscribe' in the body. No subject is needed. H> Unsubscribe messages sent to the list will be ignored/filtered. Thanks, but that was not the problem. The problem is solved now, I'm using a SH that check the process list for ices2, and if it's not here it calls a ctsh script that launch ices2 -- Best regards, Nicolas mailto:bazin.nicolas@club-internet.fr --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.