Date: Tue, 6 Jan 1998 11:01:56 -0000 From: "Steven Fletcher (Shellnet IRC administrator)" <ircadmin@shellnet.co.uk> To: "Kwoody" <kwoody@citytel.net>, "freebsd-questions" <freebsd-questions@FreeBSD.ORG> Subject: RE: mail log to myself Message-ID: <98010611012341500@mailhost.shellnet.co.uk> In-Reply-To: <Pine.BSF.3.91.980105114740.1822A-100000@mybsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > I have a little cron job that creates a log at night. How can one mail > said log to myself? Its not big only about 300 bytes. > > thanks! A simple way would be to do the following: cat <mail log file> | mail -s "Mail logs" <your email address> As an example: cat /var/log/maillog | mail -s "Mail logs" kwoody@whatever.com Hope this helps.... Steven Fletcher Shellnet IRC admin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98010611012341500>