[plug] `Expect` and `cron` <http://expect.nist.gov>

Jason Belcher jason.belcher at gmail.com
Thu Jan 6 10:46:56 WST 2005


On Thu, 6 Jan 2005 09:07:58 +0800, James Devenish
<devenish at guild.uwa.edu.au> wrote:
>  - Other ways of using MySQL from the command line.

mysql ... -p[password] < file_with_sql_commands ?

Completely unsecure if other people can read your crontab and
therefore see your password, but a possible alternative otherwise?

(Now I'll probably get all those a lot more clued up telling me why
that's a bad idea, but it seems to be a fairly simple way of doing it.
Unless I'm missing something?)


Jason



More information about the plug mailing list