Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a simple crontab for ripping my local radio station only when I want:

0 16 * * 0 /root/
0 17 * * 0 killall streamripper
0 20 * * 0 /root/
0 21 * * 0 killall streamripper

and it's not working. Also, this is the content of

streamripper -s -o never -d /some/secret/directory

Thanks :)

share|improve this question

migrated from Sep 1 '10 at 16:36

This question came from our site for system and network administrators.

Is executable (chmod +x /root/ Is the streamripper binary in the path? Try to give a full path to it in the script (you get the full path with which streamripper).

share|improve this answer

Worth checking to see if the cron is actually being run - see if the contents of /var/log/cron tie to the expected execution times. Also, is there really any need to mention that the script is probably doing something illegal? -1 for trying to bring down the integrity of this site.

share|improve this answer

Are you receiving any error emails? I'd set MAILTO=some_use_you_read_mail_for and see if there are any obvious errors.

and you don't quite define 'not working'

share|improve this answer

And it makes really no sense to run streamripper as the user root. Better use any unprivilegued user for that. For example your own.

share|improve this answer

You must log in to answer this question.