Please reply to [EMAIL PROTECTED] (not to me personally),
so that others can follow this discussion.

At 16:56 -0400 10/6/03, Patrick Larkin wrote:
On Monday, October 6, 2003, at 04:37 PM, Paul DuBois wrote:

Does the PATH setting for jobs run by cron include the directory where
mysqldump is located?

Hmmm. Don't know. I have other cron jobs doing things in other places. How do I set this path?
Thanks for replying...


Patrick

One way to set the path would be to place your mysqldump command in a helper script:

#! /bin/sh
export PATH=your-path-setting-here
mysqldump ....

Then invoke the helper script from the crontab, rather than invoking
mysqldump directly.

But it's probably easier just to modify the crontab entry to invoke
mysqldump by its full pathname.

--
Paul DuBois, Senior Technical Writer
Madison, Wisconsin, USA
MySQL AB, www.mysql.com

Are you MySQL certified? http://www.mysql.com/certification/


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to