If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > sending mail from dbms_scheduler

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Feb 2006
Posts: 5
sending mail from dbms_scheduler

hi.
using oracle 10g is it possible to send email from the dbms_scheduler based on the result of a batch job run from the os?

i.e.
DBMS_SCHEDULER.create_program (
program_action => '/u01/app/update_stats.sh' );

on job failure, program returns a flag to oracle which sends an email notification.

thanks.
ed.
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 7,597
Alternatively, you could simply have cron invoke the shell script which also sends email upon failure.
What is gained by involving Oracle & dbms_scheduler ?
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Don't say, show. Don't promise, prove.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On