[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cron sh ?



Hello,

I have a cron script and a line:

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

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




Reply to: