From owner-freebsd-questions@FreeBSD.ORG Mon Nov 26 15:31:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 35DA140E for ; Mon, 26 Nov 2012 15:31:19 +0000 (UTC) (envelope-from millenia2000@hotmail.com) Received: from bay0-omc4-s18.bay0.hotmail.com (bay0-omc4-s18.bay0.hotmail.com [65.54.190.220]) by mx1.freebsd.org (Postfix) with ESMTP id 152978FC0C for ; Mon, 26 Nov 2012 15:31:19 +0000 (UTC) Received: from BAY165-DS6 ([65.54.190.199]) by bay0-omc4-s18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 26 Nov 2012 07:30:14 -0800 X-Originating-IP: [174.252.117.177] X-EIP: [CYbd4NG6TXPCMDZPq3De44fAp/lbJH03b7ulaoHIE3Y=] X-Originating-Email: [millenia2000@hotmail.com] Message-ID: From: Sean Cavanaugh To: "'Odhiambo Washington'" , References: <50B2A57A.3050500@tundraware.com> <50B36500.7040308@tundraware.com> <201211261414.39500.jmc-freebsd2@milibyte.co.uk> In-Reply-To: Subject: RE: When Is The Ports Tree Going To Be Updated? Date: Mon, 26 Nov 2012 10:30:08 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHfEq7TonH0zJoTHrv+8b9g9i0lvQKdb4S2AdjvIngDAX6wTAGj7+asl5DQoTA= Content-Language: en-us X-OriginalArrivalTime: 26 Nov 2012 15:30:14.0028 (UTC) FILETIME=[EE0DCCC0:01CDCBEA] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2012 15:31:19 -0000 > > So is "portsnap cron update" and "portsnap fetch update" doing the same > thing? > Whichever way, it sounds like I need an initial run of portsnap extract before > putting this in crontab. >From scratch, you need to "portsnap fetch extract" to establish your ports directory. After that you either use "portsnap fetch update" to interactively update or use "portsnap cron update" for a cron script. "Fetch" and "Cron" are identical except "Cron" adds a randomized time delay so as not to fire off EXACTLY at the time you set. This helps prevent everyone and their brother nailing the update server exactly at midnight every night, but rather spread it out a few minutes. Do NOT use a randomizer on your cron timer with "portsnap cron" or you will be double randomizing and wondering why it seems to never be updating sometimes.