Hi, You can use this template. The idea is the same. All your line commands for certain task can be embedded in a single script :
http://webxadmin.free.fr/article/mysql-use-shell-script-to-dump-all-databases-t-54.php Mathias Selon "Jorgensen, Bill" <[EMAIL PROTECTED]>: > MySQL guys: > > > > I am new to databases, MySQL, and anything outside of my world of UNIX > system administration. A former colleague of mine set up MySQL on our > backup server and I would like to interface with the database to get > reports. I have read a little and understand a few things. I have taken > the time to develop some SQL to get the data I would like to get. > However, I want to do this with a Korn shell script that emails the > report to a list of internal customers. Any help you can provide would > be greatly appreciated. > > > > Thanks in advance, > > > > Bill > > > > -------------------------------------------------------- > > Bill Jorgensen > > CSG Systems, Inc. > > -------------------------------------------------------- > > > > -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]