Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 1998 00:40:51 -0600 (CST)
From:      Joel Ray Holveck <joelh@gnu.org>
To:        Greg Lehey <grog@lemis.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mail log to myself
Message-ID:  <199801060640.AAA04202@detlev.UUCP>

next 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.
> 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.)

mail -s "Little cron job log" < log

Cheers,
joelh

-- 
Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan
   Fourth law of programming:
   Anything that can go wrong wi
sendmail: segmentation violation - core dumped



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801060640.AAA04202>