Jim Pazarena <[EMAIL PROTECTED]> writes:

> I am trying to grep for a record from a crob job...
> the entry looks like this:
>  58  23 * * *   grep `date "+%Y-%m-%d "` /log/fylename | mail admin      
> cron complains:
>   Syntax error:  EOF in backquote substitution
> could someone enlighten me please?

You've got a quoting nightmare there.
Try wrapping it up in a shell script to be called from cron, 
and you won't have to worry what cron does to the tokens.
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to