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?

Script as follows:


mysqldump --opt -h localhost -u $USER -p$PASS horbury_dppd06

And that's it...
When run as root from CLI, works with no errors. When run from cron as
root, get the "not found" problem.

Marc A Coyles - Horbury School ICT Support Team
Mbl: 07850 518106
Land: 01924 282740 ext 730
Helpdesk: 01924 282740 ext 2000

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to