Notify failure for a job crawling

Hi,
I would like to know if there's a way to easily notify me when the web crawling (Data synchronization ) failed in Ultra Search. I know it launched a dbms_job, but I don't seem to be able to see it when it failed in the dba_jobs. OEM doesn't seem to detect the failure too.
Otherwise, I know I can email the log file, but I'm sure there is an easiest way to do it.
Thank you

You would be better posting this question on the UltraSearch forum.
Ultra Search

Similar Messages

  • How to find the reason for a job failure

    Hi,
    I have created a job .
    It was running fine. But after few days it showed the status as broken.
    How do we find the reason for a job failure ?
    Thanks.

    There should be a trace file in the either the udump or bdump (depending on Oracle version) directory on the DB server. If the job is broken it has probably failed 16 times, so you should have 16 trace files - each possibly showing the same error. The relevant trace files will have j00 in the name, showing that they were generated from dbms_job.
    Ben

  • Job failure ( report RFFDKU00 scheduled for background job)

    Hi Experts,
        When iam scheduling the report RFFDKU00 for background job. Job is getting cancelled with status "ABAP/4 processor: DBIF_RSQL_SQL_ERROR" . when iam obesrving this job it is going to dump at this select query
    "     select ausbk belnr gjahr bzkey buzei
    033370                  from vbsegs into table t_vbsegsfields
    033380            where bukrs in r_bukrs
    033390            and not ( fdlev = space
    033400                  and fdgrp = space
    033410                  and fdtag = init_date
    033420                  and fdwbt = 0 )
    033430            and not saknr in r_cm_sk   "
    Can anyone helpme to deal with this issues ,
    thanks in advance,
    Kranthi

    note 167301 might help.

  • Best way to schedule and get notification for plsql job

    hi
    i would like to execute a procedure on weekly basis and want to be notified if the job fails
    which is correct way of doing this?
    1. create user defined metric and call the procedure this way
    2. create scheduler job dbms_scheduler
    the other question is while I have exception handling within plsql procedure, how will the grid agent or dbms_scheduler distinguish between success and failure ?
    do I have to set a variable or execute special command as part of exception handling ?

    Have you researched the ADD_JOB_EMAIL_NOTIFICATION procedure of DBMS_SCHEDULER?
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_sched.htm#BABBFBGI
    This procedure adds e-mail notifications for a job. E-mails are then sent to the specified list of recipients whenever any of the specified job state events is raised.For more information about monitoring jobs, including a description of job logs and job email notifications, look here:
    http://docs.oracle.com/cd/E14072_01/server.112/e10595/scheduse008.htm
    You can configure a job to send e-mail notifications when it changes state. The job state events for which e-mails can be sent are listed in Table 28-13. E-mail notifications can be sent to multiple recipients, and can be triggered by any event in a list of job state events that you specify. You can also provide a filter condition, and only job state events that match the filter condition generate notifications. You can include variables like job owner, job name, event type, error code, and error message in both the subject and body of the message. The Scheduler automatically sets values for these variables before sending the e-mail notification.

  • BODS 3.1 : How to trigger an email alert for the jobs on BODS server ?

    Hi All.
    I have this request.
    BODS 3.1 : How to trigger an email alert for the jobs on BODS server ?
    We have jobs scheduled on BODS running smoothly and absolutely fine.
    But to check, i am logging into the admin console and check for the jobs status.
    I would like to have an email to be received from BODS after each job is finished.
    It could succuessful. Or it could fail.
    Whatsoever, i wish to receive an email alert as soon as a job is finished.
    Can anyone advise me as to whether this could be made possible.
    And if yes, how this could be done.
    Thanks for your help in advance.
    In BOE CMC / for webi / schedule / we find an option to send email for a job success or a job failure.
    Is there any option similar to that in BODS ?
    Also would like to know :
    how to use the smtp_to or mail_to functions ?
    how to set up the smtp server for this ?
    thanks
    REgards
    indu
    Edited by: Indumathy Narayanan on May 31, 2011 3:47 PM

    Hi.
    Since am new to this BODS. I need some help.
    I already have many jobs which are running absolutely fine.
    And when a job runs, and finishes, am able to see the trace saying
    e.g. :
    Job_abc is completed successfully.
    We got the smtp service activated for our test server.
    and we hae a group email id.
    I have put the details of the smtp server / ip address / and said apply restarted.
    The i created a simple test script as below :
    print (' Before email ' );
    smtp_to('abc@company_name.com', 'Job ' || job_name() ||' on ' || host_name() || ' has FAILED',
    ' the job has failed', 0, 0);
    print('After Email ');
    It does send a email to as per smtp_to whatever email is specified.
    But how to differentiate between a job success
    And a job which has failed.
    I wish to have a mail which says on the subject :
    'Job ' || job_name() ||' on ' || host_name() || ' has completed successfully'
    ==> IF it is a success
    OR
    'Job ' || job_name() ||' on ' || host_name() || ' has failed'
    ==> if it has failed
    How to make the system identify, whether
    to send a success message or a error message whatever
    Could anyone advise.
    thanks
    indu

  • Variants for background jobs

    You need to schedule and automate batch jobs in an organisation. There will be multiple variants and multiple steps within same batch jobs. The variants are date dependent and needs to change every day. You need to automatically change the variants every day and schedule the jobs. Also check for the failures in the jobs. Apart from that Once the jobs in one server example : R/3 server ends the jobs in BW servers should be triggered automatically. Explain all steps with proper T codes and also provide a dry run example. Also provide all the table used for the variants purpose.
    Please help on this,thanks
    Narendra

    Hi Narendra,
    The background jobs are scheduled depending on the requirement with specific variants which are both date specific and even specific sometimes. These variants are created for the programs or reports which are run in the background job ,These variants are stored in VARID table for client specific variants and
    VARID_CI for client independent. For most of the times all these jobs are maintained in some job scheduling tools so that they automatically inform about job failures and processes can be automated.In our organisation we use UC4 for background job schedulign and it controls the process as you are looking for.
    Please award points accordingly
    With Regards,
    Junaid
    Message was edited by:
            muhammed junaid

  • IDoc failure in background job

    Hi,
    I have developed a customized program and sending outbound IDocs to other SAP system using Function Module MASTER_IDOC_DISTRIBUTE. When I am running this program in background mode IDocs are failed with reason 'Entry in outbound table not found'.
    But when I am running the same program in foreground then IDocs are getting posted properly. Partner Profile and port are set properly.
    Please anyone could give me reason behind IDocs failure in background Job.
    Many Thanks.

    Hi,
    Message Number for the message is "Entry in outbound table not found' E0 - 400. This Mesasge used
    in the below programs.
    Programs asying that there is no Entry in EDP13(Partner Profile : Outbound(Technical Parameters)) Table. Debugg the Background job in SM37 by entering JDBG in the command field then it will go to debugging mode. Then put break point for "MESSAGE".
    Thanks,
    Naresh Mochi

  • EMAIL NOTIFICATION FOR DBMS_SCHDEULER JOB STATUS IN ORACLE 10G

    Hi All,
    I want to configure email notification for the job which is running through BUMS_SCHEDULER in oracle 10g
    Please provide the steps for configuration of the email notification.
    Thanks
    Mak

    Is your problem that you do not know how to send an email from Oracle 10g? If so then you use the UTL_MAIL package.
    Here's an example of calling it as part of a scheduler chain, not strictly what you're asking for but this lets you define success and failure steps and call each one based on the status of previous steps.
    BEGIN
    DBMS_SCHEDULER.CREATE_PROGRAM (
       program_name           =>'prg_Export_Success',
       program_type           =>'PLSQL_BLOCK',
       program_action         =>q'[BEGIN
                                    UTL_MAIL.SEND (
                                       sender      => 'who_its_from',
                                       recipients  => '[email protected]',
                                       subject     => 'subject line',
                                       message     => 'the message',
                                       mime_type   => 'text/plain; charset=us-ascii');
                                    END;]',
       number_of_arguments      => 0,
       enabled                  => TRUE,
       comments                 => 'Email success');
    end;
    BEGIN
    DBMS_SCHEDULER.DEFINE_CHAIN_STEP (
       chain_name      =>  'Export',
       step_name       =>  'stp_EXPORT_SUCCESS',
       program_name    =>  'PRG_EXPORT_SUCCESS');
    END;
    /... then define appropriate rules.

  • I'm using Time Machine and a LaCie external drive to backup. I also have a 8 GB LaCie flash drive I want to use for small jobs. If I plug the LaCie flash drive in, is my Mac going to think it is the LaCie external drive and start trying to backup?

    I'm using Time Machine and a LaCie external drive to backup. I also have a 8 GB LaCie flash drive I want to use for small jobs. If I plug the LaCie flash drive in, is my Mac going to think it is the LaCie external drive and start trying to backup?

    no.

  • My iphone 4S wont allow me to restore a bckup of icloud it has just rebooted the os and for over 24 hours i have been trying to fix it i use this phone for my job so i need help

    My iphone 4S wont allow me to restore a bckup of icloud it has just rebooted the os and for over 24 hours i have been trying to fix it i use this phone for my job so i need help. when i try to restore it says "Your iphone could not be activated becuase the activation server is unavailable, If the problom presests goto apple.com/support"   It has done this for 27 hours now PLEASE HELP!!!!!!!!!

    - Connect the iPod to the computer and see if iTunes sees it. If it sees it try to get the photos off the iPod.
    - Next let the battery fully drain. It will likely take days. After charging for at least an hour try again
    - Last, make an appointment at the Genius Bar of an Apple store.

  • Password report for EM jobs

    We have multiple EM jobs that run against a node using the root password. Whenever the root password changes, we go in to each job and update the password. Sometimes, we miss a couple. Does anyone know if there is a location in the tables of the repository that give the date that the credentials for a job were last changed?
    Thanks

    Well, it's an answer...but not the one I was hoping for :-)
    Do you know where in the base tables in the repository the credentials are stored? That might get me what I'm looking for as well.
    Thanks.

  • JOB_OPEN - SUBMIT - JOB_CLOSE - User Name for the Job

    Hi,
    I have a code like that:
    CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname          = lv_jobname
        IMPORTING
          jobcount         = lv_jobcount
        EXCEPTIONS
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 3
          OTHERS           = 4.
    * Call Update PO from Sales Order
      SUBMIT zpcc_mm_upo3
        WITH p_vbeln = puv_vbeln
        USER lc_uname
        VIA JOB lv_jobname NUMBER lv_jobcount
        AND RETURN.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount             = lv_jobcount
          jobname              = lv_jobname
          strtimmed            = lc_true
        EXCEPTIONS
          cant_start_immediate = 1
          invalid_startdate    = 2
          jobname_missing      = 3
          job_close_failed     = 4
          job_nosteps          = 5
          job_notex            = 6
          lock_failed          = 7
          OTHERS               = 8.
    In this code as you see I can run the SUBMIT program with a specified user. But the creator of the job always becomes SY-UNAME. So is there a way to specify the user name for a job creator? I don't want to use SY-UNAME.
    Thanks,

    Hio try this way...
    CALL FUNCTION 'JOB_OPEN'
         EXPORTING
           jobname          = lv_jobname
         IMPORTING
           jobcount         = lv_jobcount
         EXCEPTIONS
           cant_create_job  = 1
           invalid_job_data = 2
           jobname_missing  = 3
           OTHERS           = 4.
    "Comment this
    * Call Update PO from Sales Order
       SUBMIT zpcc_mm_upo3
         WITH p_vbeln = puv_vbeln
         USER lc_uname
         VIA JOB lv_jobname NUMBER lv_jobcount
         AND RETURN.
    "Comment end
    * Call function to submit the job
      CALL FUNCTION 'JOB_SUBMIT'
           EXPORTING
                authcknam                   = wa_authchknam        "Pass the Other User name you want
                jobcount                    =  lv_jobcount
                jobname                     = lv_jobname
                REPORT                      = 'zpcc_mm_upo3'
                VARIANT                     = jobs-variant  "Create Varaqint
                PRIPARAMS                   = wa_PRI_PARAMS
          EXCEPTIONS
               BAD_PRIPARAMS               = 1
               BAD_XPGFLAGS                = 2
               INVALID_JOBDATA             = 3
               JOBNAME_MISSING             = 4
               JOB_NOTEX                   = 5
               JOB_SUBMIT_FAILED           = 6
               LOCK_FAILED                 = 7
               PROGRAM_MISSING             = 8
               PROG_ABAP_AND_EXTPG_SET     = 9
               OTHERS                      = 10
       CALL FUNCTION 'JOB_CLOSE'
         EXPORTING
           jobcount             = lv_jobcount
           jobname              = lv_jobname
           strtimmed            = lc_true
         EXCEPTIONS
           cant_start_immediate = 1
           invalid_startdate    = 2
           jobname_missing      = 3
           job_close_failed     = 4
           job_nosteps          = 5
           job_notex            = 6
           lock_failed          = 7
           OTHERS               = 8.
    Prabhudas

  • How do I upload to Facebook in High Resolution using my iPhone. Do I need an app? Which ones are best for the job? (I know how to do it on a PC :) )

    How do I upload photos to Facebook in High Resolution using my iPhone. Do I need an app? Which ones are best for the job? (I know how to do it on a PC )

    100pat wrote:
    Thanks, I can do it fine from my Windows desktop PC, I just want to know how to do it from an iPhone4
    Like I said before ask facebook or look at their support site to see if that is even a feature.

  • Function module for background jobs email

    hi abaper's
                     i hace to create a function module for background jobs this function module have to send an email automatically when a background job is assigned or processed in background.
    thnks n regards
    pardeep kumar

    hi dear
    open this site
    https://weblogs.sdn.sap.com/pub/wlg/781. [original link is broken] [original link is broken] [original link is broken]
    <removed by moderator>
    Edited by: Mike Pokraka on Aug 8, 2008 12:48 PM

  • While Executing a Javascript got RuntimeException - org.mozilla.javascript.EvaluatorException: uSetContextVar: Only valid for Provisioning jobs at line

    Hello Experts,
    I am receiving an error whenever i am executing a java script file. I am calling the script in the below fashion.
    MSKEYVALUE  - $FUNCTION.DP_getMskeyValueForUser(%ABCD01%)$$
    function DP_getMskeyValueForUser(Par){
    ---- Here we have written logic---
           var result = uSelect(query);
          result = DP_generateId("CREATE");// calling another script
        return result;
    function DP_generateId(Par){
    --------------Here Code Logic ----------------------
    --------At ending setting the output value and storing it in the context variable
        uSetContextVar("new_mskeyvalue", newMskeyValue);
        return newMskeyValue;
    While executing i am getting an error message at the above highlighted part stating that got RuntimeException - org.mozilla.javascript.EvaluatorException: uSetContextVar: Only valid for Provisioning jobs at the line
    Can you kindly please help me with this error.
    Regards,
    DP

    Hi DP,
    Hope this helps.
    context var is used if you want to pass values between tasks. If you are using in a job and you want to use values between passes, then you could use a job variable. Or if you want to calculate and use the values in same pass in the job, you can use a Hashmap.
    Kind regards,
    Jai

Maybe you are looking for