Date: Thu, 15 Nov 2007 15:55:30 +0200 From: cknipe@savage.za.org To: Steve Bertrand <iaccounts@ibctech.ca> Cc: zbigniew szalbot <zbigniew@szalbot.homedns.org>, freebsd-questions@freebsd.org Subject: Re: cron/send mail question Message-ID: <1195134930.473c4fd203795@41.204.202.39> In-Reply-To: <473C47FF.8040505@ibctech.ca> References: <473C3FCB.6040302@szalbot.homedns.org> <473C47FF.8040505@ibctech.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
existats comes to mind as well. Does the whole analyze thing for you... Quoting Steve Bertrand <iaccounts@ibctech.ca>: > zbigniew szalbot wrote: > > Dear all, > > > > What command (when using cron) should I invoke to automatically sent > > /var/log/exim/rejectlog file to a specified email address? I just need > > to analyze it and would best prefer to have it in my inbox in the morning. > > The following should be on one line in crontab : > > 1 * * * * mail -s "File contents" my@email.addr < /home/steveb/file.name > > It will send your file to you inline in an email ad one minute after > midnight every day. > > Steve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1195134930.473c4fd203795>