From owner-freebsd-questions@FreeBSD.ORG Mon Feb 20 16:21:35 2006 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 F0C6B16A425 for ; Mon, 20 Feb 2006 16:21:35 +0000 (GMT) (envelope-from tundra@tundraware.com) Received: from eskimo.tundraware.com (eskimo.tundraware.com [64.2.229.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21A9C43D76 for ; Mon, 20 Feb 2006 16:21:29 +0000 (GMT) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by eskimo.tundraware.com (8.13.4/8.13.4) with ESMTP id k1KGLVSY037016 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Mon, 20 Feb 2006 10:21:31 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <43F9EC82.80609@tundraware.com> Date: Mon, 20 Feb 2006 10:21:22 -0600 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Randy Pratt References: <43F8E25D.5030503@tundraware.com> <20060219164805.0de1772d.bsd-unix@comcast.net> In-Reply-To: <20060219164805.0de1772d.bsd-unix@comcast.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner: Found to be clean X-MailScanner-From: tundra@tundraware.com Cc: freebsd-questions@freebsd.org Subject: Re: Path And 'cron' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2006 16:21:36 -0000 Randy Pratt wrote: > On Sun, 19 Feb 2006 15:25:49 -0600 > Tim Daneliuk wrote: > > >>Where is the default path for cron jobs established? (And can it >>be changed...) >> > > > Take a look at: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-cron.html > > and see if that answers your question. > > Best regards, > > Randy > -- > Well ... it answered my question partially. But as I looked back over it, I realized my central questions are still unanswered: If I do not have a PATH= statement in a particular user's crontab, what is used for a default PATH? Is the path in /etc/crontab inherited somehow? Given that the default shell is /bin/sh, are the settings in /etc/profile observed? If no PATH is established there either, what will cron use? I am trying to determine the best place to establish correct global PATH settings for all cron users so I don't have to edit each users' crontab file when file locations are updated or changed. TIA, -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/