From owner-freebsd-questions@FreeBSD.ORG Wed Aug 31 13:56:24 2005 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 C684516A423 for ; Wed, 31 Aug 2005 13:56:24 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91C5A43D5D for ; Wed, 31 Aug 2005 13:56:21 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.1/8.13.1) with ESMTP id j7VDsggI002383; Wed, 31 Aug 2005 08:55:02 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <4315B697.5010001@daleco.biz> Date: Wed, 31 Aug 2005 08:54:31 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.10) Gecko/20050823 X-Accept-Language: en-us, en MIME-Version: 1.0 To: martin hudec References: <20050831112105.GA39126@amber.aeternal.net> In-Reply-To: <20050831112105.GA39126@amber.aeternal.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: portsnap and updates using 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, 31 Aug 2005 13:56:25 -0000 martin hudec wrote: >Hello, > > > I am using portsnap to update my ports tree like following: > > 1. Calling portsnap cron from root's cron > 2. Updating ports tree using portsnap -I update from root's cron > > But it does not update anything by portsnap cron. In > /usr/local/etc/portsnap.conf I have: > > WORKDIR=/usr/local/portsnap > PORTSDIR=/usr/ports > > Files in WORKDIR are dated to Aug 25. So I assume calling portsnap > cron results in failure (both with -f /usr/local/etc/portsnap.conf or > without it). > > Can anyone advise me on this one please? > > Not sure. Check the logs, etc. If you're familiar with ktrace, kdump, etc., you could follow the program's progress if you find no log information. How are you calling the program from cron(8)? I'm sure that you are aware of cron's limited environment; one result of this is that you generally need to supply full pathnames to any command you want cron(8) to run for you. Is cron sending you any mail about this job? Grasping at straws, Kevin Kinsey