Re: emailing log files

From: Andre-John Mas <ajmas@dont-contact.us>
Date: Tue, 13 Jun 2000 14:06:24 -0400

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

Andre
Received on Tue Jun 13 2000 - 12:06:23 MDT

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