[nycphp-talk] [ot] mysqldump cron problem

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

On 2/19/06, Hans Kaspersetz <lamolist at> 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.

chris at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the talk mailing list