From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 18:03:16 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 763A41065670 for ; Mon, 23 Feb 2009 18:03:16 +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 310B98FC16 for ; Mon, 23 Feb 2009 18:03:15 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so588477qwe.7 for ; Mon, 23 Feb 2009 10:03:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=n1pF08jAptABKllTYlI0vdYrK3YV2bqn/PSL1quHNyc=; b=gwJdj1fJ5Bf1LoQwDsXeKqlIhIyCJkY/9lQiDgNiTNpF1tGxZe4kdI3IASehOqq3Hg 3gJgzdfF1JolPikoHZy63XR0WHBecX8DPw6JKSwgntcIJjY5Xp/leA+NwFmTxG0RKAhu il/QkrdZRrmWFp3EAJl6ZxlgM9j0Yre9mMcMQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ey+BwJcwjZyEuOh3H9Uxw9+aQs/y7FN8QOXFObmRuNOxDSWJT0P2PJ5DtUpAniUHC8 0wzoQyJ2b9GgKuCohxieVaOqcPV09RjHwYg4bdMI9WjtLZj0XX2yZ6mzjohZRgWOsr0K RFIy5EDbZGvN5x4q6v+XYAzjItfZ3pJ1OmBJI= MIME-Version: 1.0 Received: by 10.229.84.72 with SMTP id i8mr1416378qcl.63.1235410645724; Mon, 23 Feb 2009 09:37:25 -0800 (PST) Date: Mon, 23 Feb 2009 11:37:25 -0600 Message-ID: <1ba9cd9a0902230937xc817f3dxe26a54b734d5f8ef@mail.gmail.com> From: Joseph Simmons To: 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 Subject: 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:03:16 -0000 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.