[MPlayer-users] recording radio with cron
faxmodem at free.fr
faxmodem at free.fr
Sat Jun 25 18:06:01 CEST 2005
On Thu, Jun 23, 2005 at 06:45:59PM -0600, Kevin Sookocheff wrote:
> and here is the crontab
> 40 18 * * 1-5 $HOME/scripts/streamRec.sh http://64.236.34.196:80/stream/8016
> $HOME/Radio/MBE/MBE_`date +%b_%d_%y`.mp3 300
I think you'd rather check your mail you'll have something like:
| /bin/sh: -c: line 0: unexpected EOF while looking for matching ``'
| /bin/sh: -c: line 1: syntax error: unexpected end of file
% signs in cron are interpreted!
from the crontab(5) manpage:
| Percent-signs (%) in the command, unless escaped with backslash (\), will
| be changed into newline characters
so your crontab should look like this instead:
| 40 18 * * 1-5 $HOME/scripts/streamRec.sh http://64.236.34.196:80/stream/8016 $HOME/Radio/MBE/MBE_`date +\%b_\%d_\%y`.mp3 300
More information about the MPlayer-users
mailing list