From owner-freebsd-questions@FreeBSD.ORG Thu Aug 26 15:49:06 2004 Return-Path: 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 226B116A4CE for ; Thu, 26 Aug 2004 15:49:06 +0000 (GMT) Received: from adsl-68-76-19-75.dsl.klmzmi.ameritech.net (adsl-68-76-19-75.dsl.klmzmi.ameritech.net [68.76.19.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61DC043D1D for ; Thu, 26 Aug 2004 15:49:05 +0000 (GMT) (envelope-from luke@foolishgames.com) Received: from [192.168.2.49] (66.227.161.255.kzo.mi.chartermi.net [66.227.161.255]) (authenticated bits=0)ESMTP id i7QFpvm7067159; Thu, 26 Aug 2004 11:51:58 -0400 (EDT) (envelope-from luke@foolishgames.com) X-Authentication-Warning: adsl-68-76-19-75.dsl.klmzmi.ameritech.net: Host 66.227.161.255.kzo.mi.chartermi.net [66.227.161.255] claimed to be [192.168.2.49] Message-Id: <6E48C9AA-F777-11D8-82AF-000A95EFF4CA@foolishgames.com> X-Habeas-Swe-6: email in exchange for a license for this Habeas X-Habeas-Swe-3: like Habeas SWE (tm) Date: Thu, 26 Aug 2004 11:48:53 -0400 X-Habeas-Swe-8: Message (HCM) and not spam. Please report use of this From: Lucas Holt X-Habeas-Swe-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-Swe-2: brightly anticipated In-Reply-To: <412E0193.6080904@daleco.biz> References: <200408260007.26659.krinklyfig@spymac.com> <20040826034220.65118714@localhost> <200408260109.12229.krinklyfig@spymac.com> <412E0193.6080904@daleco.biz> To: "Kevin D. Kinsey, DaleCo, S.P." X-Habeas-Swe-7: warrant mark warrants that this is a Habeas Compliant Mime-Version: 1.0 (Apple Message framework v619) X-Habeas-Swe-4: Copyright 2002 Habeas (tm) Content-Type: text/plain; charset=US-ASCII; format=flowed X-Habeas-Swe-1: winter into spring Content-Transfer-Encoding: 7bit X-Habeas-Swe-9: mark in spam to . X-Mailer: Apple Mail (2.619) X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on adsl-68-76-19-75.dsl.klmzmi.amerclamd / ClamAV version 0.75.1, clamav-milter version 0.75c on (¤¹¬¿M X-Virus-Status: Clean cc: krinklyfig@spymac.com cc: freebsd-questions@freebsd.org Subject: Re: crontab question involving cvsup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 15:49:06 -0000 Here is my setup which works: crontab -e yeilds 0 1 * * * /bin/sh /root/bin/port.sh 2>&1 | mail root port.sh contains: #!/bin/sh /usr/local/bin/cvsup /etc/ports-supfile /usr/local/sbin/portsdb -Uu /usr/local/sbin/portversion -v | /usr/bin/grep "<" then this gets mailed to me everyday with the outcome and the ports that need updating. Lucas Holt Luke@FoolishGames.com ________________________________________________________ FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging)