From owner-freebsd-ports@FreeBSD.ORG Thu Sep 11 10:20:36 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 148801065679 for ; Thu, 11 Sep 2008 10:20:36 +0000 (UTC) (envelope-from freebsd-ports@pp.dyndns.biz) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id BC3AC8FC26 for ; Thu, 11 Sep 2008 10:20:35 +0000 (UTC) (envelope-from freebsd-ports@pp.dyndns.biz) Received: from ironport.bredband.com (195.54.101.120) by proxy2.bredband.net (7.3.127) id 4811833302355098 for freebsd-ports@freebsd.org; Thu, 11 Sep 2008 12:20:34 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag4wAK+NyEhV4jrQPGdsb2JhbACBZYcIiWwBAQEBLTmlAoFkhCA Received: from c-d03ae255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.58.208]) by ironport1.bredband.com with ESMTP; 11 Sep 2008 12:20:34 +0200 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.2/8.14.2) with ESMTP id m8BAKXTg060985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 11 Sep 2008 12:20:34 +0200 (CEST) (envelope-from freebsd-ports@pp.dyndns.biz) Message-ID: <48C8F0F1.8040204@pp.dyndns.biz> Date: Thu, 11 Sep 2008 12:20:33 +0200 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.16 (X11/20080805) MIME-Version: 1.0 To: "freebsd-ports@freebsd.org" References: <48C83139.7080303@pp.dyndns.biz> <20080911012951.GA23787@rwpc12.mby.riverwillow.net.au> In-Reply-To: <20080911012951.GA23787@rwpc12.mby.riverwillow.net.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Trying to "make index" in a crontab job X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2008 10:20:36 -0000 John Marshall wrote: > On Wed, 10 Sep 2008, 22:42 +0200, Morgan Wesstr?m wrote: >> # which pkg_info >> /usr/sbin/pkg_info >> >> When I try to use crontab to "make index" in /usr/ports I end up with this: >> Generating INDEX-7 - please wait..pkg_info: not found > > See crontab(5). cron(8) doesn't give you /usr/sbin in PATH by default. > That was the problem. I simply assumed that since this is root's crontab that it also had root's complete environment available. I have added root's path to the crontab now. Thanks everyone for your help. /M