From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 18:19:12 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 A324A1065672 for ; Mon, 23 Feb 2009 18:19:12 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq2.gn.mail.iss.as9143.net (smtpq2.gn.mail.iss.as9143.net [212.54.34.165]) by mx1.freebsd.org (Postfix) with ESMTP id 54AC18FC2A for ; Mon, 23 Feb 2009 18:19:12 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [212.54.34.135] (helo=smtp4.gn.mail.iss.as9143.net) by smtpq2.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1LbfOY-0005ME-Uc; Mon, 23 Feb 2009 19:19:10 +0100 Received: from [84.25.72.219] (helo=ra.egypt.nl) by smtp4.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1LbfOV-00008J-SG; Mon, 23 Feb 2009 19:19:07 +0100 Received: from [192.168.13.173] (NLSTD04LJCLJZ1J.egypt.nl [192.168.13.173]) by ra.egypt.nl (Postfix) with ESMTP id 4D8B93983D; Mon, 23 Feb 2009 19:19:07 +0100 (CET) Message-ID: <49A2E89B.6090204@boosten.org> Date: Mon, 23 Feb 2009 19:19:07 +0100 From: Peter Boosten User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Joseph Simmons References: <1ba9cd9a0902230937xc817f3dxe26a54b734d5f8ef@mail.gmail.com> In-Reply-To: <1ba9cd9a0902230937xc817f3dxe26a54b734d5f8ef@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1LbfOV-00008J-SG X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.913, required 5, BAYES_00 -2.60, SPF_NEUTRAL 0.69) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Cc: freebsd-questions@freebsd.org 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 18:19:13 -0000 Joseph Simmons wrote: > I'm running a FreeBSD 7.0-RELEASE system and am trying to run a mysqldump > as root. I've written a very simple script that does the dump, it works fine > when I run it manually, but when I include it in the root's crontab (crontab > -e) or in the system's crontab (/etc/crontab), I see that the script is ran > in the log but it doesn't do anything. I'm able to run other cron jobs as > root without any problem. This script is only suppose to create a file > containing the dumped database. > Include the full path of mysqldump in your crontab (either entry or script). Peter -- http://www.boosten.org