From owner-freebsd-stable@FreeBSD.ORG Sun Jan 29 01:36:04 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E0EA1065693 for ; Sun, 29 Jan 2012 01:36:04 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from glenbarber.us (onyx.glenbarber.us [199.48.134.227]) by mx1.freebsd.org (Postfix) with SMTP id 1B9718FC22 for ; Sun, 29 Jan 2012 01:36:03 +0000 (UTC) Received: (qmail 52563 invoked by uid 0); 28 Jan 2012 20:23:08 -0500 Received: from unknown (HELO glenbarber.us) (76.124.49.145) by 0 with SMTP; 28 Jan 2012 20:23:08 -0500 Date: Sat, 28 Jan 2012 20:23:02 -0500 From: Glen Barber To: Eric Bullen Message-ID: <20120129012302.GA1933@glenbarber.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: Looks like a bug (or odd intended practice) in cron not honoring the PATH variable. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2012 01:36:04 -0000 Hi, On Sat, Jan 28, 2012 at 04:45:01PM -0800, Eric Bullen wrote: > Hi All, > > I'm running the following: > > FreeBSD x 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC > 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > I couldn't figure out why SOME of root's cronjobs weren't running, and > others were. Here's my test crontab for root: > > > # > PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/user/local/bin Looks to me like '/user/local/bin' is more likely the problem. It should be '/usr/local/bin' (note the lack of 'e'). Regards, Glen