make sure the directory where mysqladmin lives is in your $PATH in that script, i.e. add $PATH=$PATH:/usr/local/bin (or where ever it is...) in the beginning of your script where environment variables are set.
-Don -----Original Message----- From: Dion Wickander [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 2:50 PM To: MySQL Help Subject: OSX Mysqladmin and Cron I set up a script to rotate my logs for mysql and cron fires it off perfectly the logs are rotated but when the shell script gets to the last line which is... mysqladmin -u usernam -p"Password" flush-logs it will not execute it - my file that logs the execution of the cron script says it doesn't recognize the command mysqladmin any ideas??? --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php