Re: Script to mail output of select query

2011-03-15 Thread Johan De Meersman
- Original Message - > From: "Adarsh Sharma" > > Please check the attachment for the script & output. Thanks for your password :-) > Now I just want to mail the output of my script to some persons > e-mail-ID Assuming you run this from crontab, just set MAILTO=per...@domain.ext right

Script to mail output of select query

2011-03-15 Thread Adarsh Sharma
Dear all, I have prepared a simple script that shows the database, tables size in the Database server as :- Please check the attachment for the script & output. Now I just want to mail the output of my script to some persons e-mail-ID Also, I want to do some calculations and provide the info