From owner-freebsd-questions@FreeBSD.ORG Sat Aug 7 22:43:29 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 7773616A4CE for ; Sat, 7 Aug 2004 22:43:29 +0000 (GMT) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50A0E43D1F for ; Sat, 7 Aug 2004 22:43:29 +0000 (GMT) (envelope-from admin2@enabled.com) Received: from enabled.com (localhost.enabled.com [127.0.0.1]) by typhoon.enabled.com (8.13.0/8.13.0) with ESMTP id i77MhRB1031491 for ; Sat, 7 Aug 2004 15:43:27 -0700 (PDT) (envelope-from admin2@enabled.com) From: "Noah" To: freebsd-questions@freebsd.org Date: Sat, 7 Aug 2004 14:43:27 -0800 Message-Id: <20040807224127.M18276@enabled.com> X-Mailer: Open WebMail 2.32 20040709 X-OriginatingIP: 67.161.56.189 (admin2) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: updating pkg and ports database 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: Sat, 07 Aug 2004 22:43:29 -0000 Hi there, I have a cron job that auto-cvs-updates the /usr/ports directories. I want to update the portsdb and pkgdb as soon as cvsup has completed its work. I am using the following two commands to do this. am I doing the right thing? ---- snip --- /usr/local/sbin/portsdb -uU /usr/local/sbin/pkgdb -Fa --- snip --- cheers, Noah