From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 22:34:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2C3A106566C for ; Mon, 23 Feb 2009 22:34:51 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 87C6F8FC0C for ; Mon, 23 Feb 2009 22:34:51 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so686392qwe.7 for ; Mon, 23 Feb 2009 14:34:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=IaO+QYWsrKJj14OqLb1Lb8AtmEqegYbpCJZDBs/MWbE=; b=O8wkcI6qhvxo2e5Z5XJ0G5TrCAZqxVoVnpvUyA9C0quLQP4dwufg5KHhFZZpVxLyEZ U2q7VcnMwpUpx449F3S5V74/xaMEsWX0Y5mC5TCPhzF7AB74/z7N7QQhWNoejg4nBg22 oRNuzeINmDVnEo8zWPRkU6fowbD/pn5vBdkew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=UmBlQn0FFd3upFOKep8unms/b5bX5J2dRqi+UdN91GIl69nDSqyP+Odp8QfBsRb9N1 I7VZNzUr2UzLOz2hTy3r+L8JBSmQIYJpzYxyzr3zQ21FOK4Ifi2fZBrc2Rv0Uw/DAZd0 x+W2m39V2Rl4iYKfe71Q+zqcwEB3zNZFXgTNE= MIME-Version: 1.0 Received: by 10.229.94.147 with SMTP id z19mr1731865qcm.34.1235428490869; Mon, 23 Feb 2009 14:34:50 -0800 (PST) In-Reply-To: References: <1ba9cd9a0902230937xc817f3dxe26a54b734d5f8ef@mail.gmail.com> <1ba9cd9a0902231026t797dd129t2b54e86bb874bbf0@mail.gmail.com> Date: Mon, 23 Feb 2009 16:34:50 -0600 Message-ID: <1ba9cd9a0902231434u53999d89oac089d39a82d6b9e@mail.gmail.com> From: Joseph Simmons To: Steven Kreuzer , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: root's crontab and mysqldump 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: Mon, 23 Feb 2009 22:34:52 -0000 Adding /usr/local/bin gives the same result. On Mon, Feb 23, 2009 at 1:00 PM, Steven Kreuzer wrote: > > On Feb 23, 2009, at 1:26 PM, Joseph Simmons wrote: > > I added the full path and the result didn't change. I can still see it >> running in the log but the script doesn't appear to be doing anything. >> >> I have the following variables set in the root's crontab >> >> SHELL=/usr/local/bin/bash >> PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin >> > > Add /usr/local/bin to PATH because that is where the mysqldump binary is. > Also, you don't need /etc in your path, pretty much ever because that > directory should never have executable programs in it. > > -- > Steven Kreuzer > http://www.exit2shell.com/~skreuzer > >