From owner-freebsd-questions@FreeBSD.ORG Wed Aug 23 14:28:43 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB6E316A4DF for ; Wed, 23 Aug 2006 14:28:43 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id F222643D60 for ; Wed, 23 Aug 2006 14:28:42 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 23 Aug 2006 10:28:42 -0400 id 00056415.44EC661A.0001544E Received: from Internal Mail-Server (206.210.89.202) by mx01 (envelope-from wmoran@collaborativefusion.com) with AES256-SHA encrypted SMTP; 23 Aug 2006 10:22:03 -0400 Date: Wed, 23 Aug 2006 10:28:41 -0400 From: Bill Moran To: "Lisa Casey" Message-Id: <20060823102841.05d85d88.wmoran@collaborativefusion.com> In-Reply-To: <012e01c6c6bd$29966ac0$d51a2cd0@lisac> References: <012e01c6c6bd$29966ac0$d51a2cd0@lisac> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: e-mail from cron 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: Wed, 23 Aug 2006 14:28:44 -0000 In response to "Lisa Casey" : > to this: > > # Perform daily/weekly/monthly maintenance. > 1 3 * * * root periodic daily 2>&1 | sendmail service@jellico.com This is a bad idea, mainly because (as you already know) it doesn't work :) If you want to use that syntax above, use mail(1) instead of sendmail. However, you might find it easier to just add the following line to the top of the crontab: MAILTO=service@jellico.com Which will cause all mail generated by the jobs in that file to be sent to the provided address. -- Bill Moran Collaborative Fusion Inc.