Re: emailing log files

From: Tom Williams <tom.williams@dont-contact.us>
Date: Tue, 13 Jun 2000 11:34:14 -0700

Wouldn't you want to use "cat" instead of "more" because "more" will
paginate and wait for user input, right?????

Peace.....

Tom

Andre-John Mas <ajmas@uforce.com> on 06/13/2000 11:06:24 AM

To: squid-users@ircache.net
cc: (bcc: Tom Williams/HQ/dssi)
Subject: Re: emailing log files

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:34:16 MDT

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