> > I've got a script to backup my MySQL databases, which works absolutely
> > fine from the command line, but when I add it in to root's cronjobs it
> > always fails with "mysqldump: not found" - what am I doing wrong?
> 
> Things started from cron inherit a different PATH. Either add the
> appropriate directories to PATH or specify the full path to mysqldump.

In a script aimed to be run by cron, try to always use full path to
the commands.

It's the safest solution.

Olivier
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to