On Feb 23, 2009, at 1:26 PM, Joseph Simmons wrote:

I added the full path and the result didn't change. I can still see it
running in the log but the script doesn't appear to be doing anything.

I have the following variables set in the root's crontab

SHELL=/usr/local/bin/bash
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin

Add /usr/local/bin to PATH because that is where the mysqldump binary is. Also, you don't need /etc in your path, pretty much ever because that directory should never have executable programs in it.

--
Steven Kreuzer
http://www.exit2shell.com/~skreuzer

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to