[wplug] cron job whose action is promted?
Bill Moran
wmoran at potentialtech.com
Sun Nov 14 22:28:29 EST 2004
Russ Schneider <russ at sugapablo.com> wrote:
> What can you do if you want to do a cron job where the command is
> prompted?
>
> Specifically, I want to set up a mysqldump as a cron job, but if I do a
> mysqldump, I get prompted for a password.
>
> Anything I can do to get the cron job to respond to the prompt? (I know,
> wierd question.)
Not the answer to your question, but probably the answer to your problem:
mysqldump has a --password= switch that allows you to provide the
password on the command line ... no prompting.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
More information about the wplug
mailing list