Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jan 2012 20:23:02 -0500
From:      Glen Barber <gjb@FreeBSD.org>
To:        Eric Bullen <barnabus.pinklehorn@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Looks like a bug (or odd intended practice) in cron not honoring the PATH variable.
Message-ID:  <20120129012302.GA1933@glenbarber.us>
In-Reply-To: <CAOdRyJxE4svHttHKJM5tjQYW62u=pmcCi9Cg4-ok3ePg59hUdg@mail.gmail.com>
References:  <CAOdRyJxE4svHttHKJM5tjQYW62u=pmcCi9Cg4-ok3ePg59hUdg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120129012302.GA1933>