Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2009 19:19:07 +0100
From:      Peter Boosten <peter@boosten.org>
To:        Joseph Simmons <josephdsimmons@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: root's crontab and mysqldump
Message-ID:  <49A2E89B.6090204@boosten.org>
In-Reply-To: <1ba9cd9a0902230937xc817f3dxe26a54b734d5f8ef@mail.gmail.com>
References:  <1ba9cd9a0902230937xc817f3dxe26a54b734d5f8ef@mail.gmail.com>

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



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