From owner-freebsd-questions@FreeBSD.ORG Fri Apr 14 13:27:51 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 C2BDF16A402 for ; Fri, 14 Apr 2006 13:27:51 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BE8143D45 for ; Fri, 14 Apr 2006 13:27:51 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 10840 invoked from network); 14 Apr 2006 23:27:50 +1000 Received: from 203-217-81-38.dyn.iinet.net.au (HELO localhost) (203.217.81.38) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 14 Apr 2006 23:27:50 +1000 Date: Fri, 14 Apr 2006 23:27:46 +1000 From: Norberto Meijome To: Adam Stroud Message-ID: <20060414232746.454d04ee@localhost> In-Reply-To: <443F9B95.9020206@thegeeklord.com> References: <443F9B95.9020206@thegeeklord.com> X-Mailer: Sylpheed-Claws 2.1.0 (GTK+ 2.8.17; 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: portsnap 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: Fri, 14 Apr 2006 13:27:51 -0000 On Fri, 14 Apr 2006 08:54:45 -0400 Adam Stroud wrote: > 0 3 * * * root portsnap -I cron update && pkg_version -vIL=" > > My question is what part of that crontab entry sends an email? Is it a > function of cron, because I didnt see any reference to an email getting > sent in the portsnap or pkg_version man page. Cron will send the output of the command via email to the owner of the crontab. If it's the system crontab (/etc/crontab), you need to set it in /etc/crontab by defining the MAILTO variable. man 5 crontab B