Re: emailing log files

From: Gerben Welter <G.Welter@dont-contact.us>
Date: Tue, 13 Jun 2000 20:34:25 +0200

At 14:06 6/13/00 -0400, you wrote:
>Craig Fels wrote:
> >
> > Hopefully someone can help. It worked last time, and I appreciate it!
> >
> > I need to send a daily email of /usr/local/squid/logs/access.log to
> someone.
> >
> > Can anyone help me? I'm new to Linux and Squid, but picking it up pretty
> > quickly.
> >
>
>How about adding an entry to the crontab, something like:
>
> 0 0 * * * more /usr/local/squid/logs/access.log | mail user@domain.com

Depending on the amount of traffic you've got, you might want to pipe it
first through gzip or something :-)

Grtz Gerben.
Received on Tue Jun 13 2000 - 12:36:37 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:01 MST