NYCPHP Meetup

NYPHP.org

[nycphp-talk] [ot] mysqldump cron problem

Chris Merlo chris at theyellowbox.com
Sun Feb 19 09:00:25 EST 2006


On 2/19/06, Hans Kaspersetz <lamolist at cyberxdesigns.com> wrote:
>
> I created a bash script that is supposed to dump one of my databases.
> When I run the bash script from the cli it dumps no problem.  When I
> call the script from cron, I get an empty file in the destination
> directory.  Anyone have any ideas?


Your personal user might not have the permissions to write to
/usr/local/backups.  Try running the cron job as root.
-c

--
chris at theyellowbox.com
http://www.theyellowbox.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060219/8f4b0f4e/attachment.html>


More information about the talk mailing list