Results 1 to 2 of 2
  1. #1
    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.

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,621
    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.
    There are no stupid questions, but there are a LOT of Inquisitive Idiots.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •