Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

automatic mail generation when cron job executes???

Status
Not open for further replies.

21sam

MIS
Jul 20, 2005
26
US
can you guys give some guidence to setup the automatic mail generation to dba groups whenever the cron job runs. this LPAR is AIX 5.2ML07 and Oracle database is running...

advance thanks for your valuable reply

thanks
samy
 
Can you give a more detailed description of your problem. In simple terms if the cron job is
Code:
00 23 * * * /home/oracle/myscript.ksh
Then /home/oracle/myscript.ksh could be
Code:
/home/oracle/do_the_real_work.ksh
echo "do_the_real_work completed with exit status $?" | mail -s "Do the real work" dbauser@dbahost
But you can add far more bells and whistles if you want.

Columb Healy
 
thank you so much!

with your input i will try to read further to fix the problem.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top