Date: Tue, 6 Jan 1998 17:12:24 +1030 From: Greg Lehey <grog@lemis.com> To: joelh@gnu.org Cc: freebsd-questions@freebsd.org Subject: Re: mail log to myself Message-ID: <19980106171224.13280@lemis.com> In-Reply-To: <199801060640.AAA04202@detlev.UUCP>; from Joel Ray Holveck on Tue, Jan 06, 1998 at 12:40:51AM -0600 References: <199801060640.AAA04202@detlev.UUCP>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 06, 1998 at 12:40:51AM -0600, Joel Ray Holveck wrote: >>> 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. >> mail kwoody < log > > Perhaps a subject parameter would be wise, to prevent mail from > prompting for one. (Recall that the default .mailrc contains 'set > ask' in it.) Not a bad suggestion, but in fact I do this regularly (without a subject--shame on me), and it works fine. I think mail checks whether its stdin is a tty or not. Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980106171224.13280>