Thanks everyone for their reply.

Cron is treating the "%" as newlines and adding a backslash
before each "%" solves the problem.  It does not appear that
tick marks are necessary.

 ... wget ... -O ~/Base$(data +\%H\%M).gif

> 
> I have a cron script and a line:
> 

> 
> and I get the error
> 
> /bin/sh: -c: line1: unexpected EOF while looking for matching `)'
> /bin/sh: -c: line2: syntax error: unexpected end of file
> 
> I am guessing that because I am running bash via cron that I am missing
> slashes or I need to enclose the command in quotes?
> 
> How do I fix this?
> 
> Lance
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to