From owner-freebsd-questions@FreeBSD.ORG Thu Nov 15 14:31:40 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60EEF16A417 for ; Thu, 15 Nov 2007 14:31:40 +0000 (UTC) (envelope-from cknipe@savage.za.org) Received: from www39.cpt2.host-h.net (www39.cpt2.host-h.net [41.204.202.39]) by mx1.freebsd.org (Postfix) with ESMTP id ED91C13C474 for ; Thu, 15 Nov 2007 14:31:39 +0000 (UTC) (envelope-from cknipe@savage.za.org) Received: from localhost ([127.0.0.1]) by www39.cpt2.host-h.net with esmtp (Exim 4.66) (envelope-from ) id 1IsfBv-0006Nw-00; Thu, 15 Nov 2007 15:55:58 +0200 Received: from 196.212.105.173 ([196.212.105.173]) by default.cpt2.host-h.net (IMP) with HTTP for ; Thu, 15 Nov 2007 15:55:30 +0200 Message-ID: <1195134930.473c4fd203795@41.204.202.39> Date: Thu, 15 Nov 2007 15:55:30 +0200 From: cknipe@savage.za.org To: Steve Bertrand References: <473C3FCB.6040302@szalbot.homedns.org> <473C47FF.8040505@ibctech.ca> In-Reply-To: <473C47FF.8040505@ibctech.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 196.212.105.173 Cc: zbigniew szalbot , freebsd-questions@freebsd.org Subject: Re: cron/send mail question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2007 14:31:40 -0000 existats comes to mind as well. Does the whole analyze thing for you... Quoting Steve Bertrand : > 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" >