hi,

im using this command to parse squid's log files.

cat /usr/local/squidlog/access.log.0 | calamaris -a -w
>/var/www/html/calamaris/`date +%m%d%y`.html

this works when typed. however when the line is
inserted in crontab ( crontab -e ) it doesnt work.. 

here's the error message...

-----------------------------------------------
cat /usr/local/squidlog/access.log.0 |    calamaris -a
-w >/var/www/html/calamaris/`date +

/bin/sh: -c: line 1: unexpected EOF while looking for
matching ``'
/bin/sh: -c: line 2: syntax error: unexpected end of
file
-----------------------------------------------

what happens? is crontab using a different shell? (?!
). can this be done without saving the whole line into
a file then calling for it from crontab? 

thanks



__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to