Email Notification after Job run

Hi everybody,
I want to setup an email notification at the end of a job run.
The job is an update run from our Activate Directory and checks if there are some changes to do.
At the end or after this job I would like to send an email to the admin that the job successfully run and what the job did.
How could I setup this?
At the moment I tried to use a SQL statement to table MC_LOGS within a script called in the last pass of the job.
But I only get the information what to job do from the last run of the job and not from the current run.
Best regards & a happy new year, Anja

Hi Anja
Your last pass can only fetch information from the last run and not the current one because the Job is still running and the respective log is not yet written to the table.
But maybe you could use the LogFile created then the Job finishes.
I suppose you use the "LDAP (ADS) - Update All"- Job for LDAP-to-IC updates. This job writes a logfile to %$ddm.ddmpath% which you could send as mail attachment. Use the UpdateJob-"Event scheduling" button to run your SendMail-Job after every UpdateJob-completion.
Another idea would be to use the SQL-View MCMV_JOBLOG which I think is the datasource of IC-JobLog. I suppose column "mcmv_data" stores the details.
Hope I could help.
BR
Michael

Similar Messages

  • Oracle Scheduling Sending Email Notifications of Job Errors

    Hi,
    We are Oracle E-Business Suite - 12.1.3 & DB 11gr1
    I want to send to configure - Oracle Scheduling Sending Email Notifications of Job Errors.
    I already created job.. how i can configure Email Notifications of Job Errors.
    Thanks
    KSV.DBA

    Duplicate posts?
    Email Notofication - scheduled job fails
    Email Notification - Oracle Scheduled job failed
    Scheduler - 11g
    Re: Create Job scheduler

  • Send email notification after unlock account in OIM 11gr2

    Hi,
    there is OOTB email notification is availabe for sending email notification after unlock aacount.
    could anyone please provide a way to do that...

    any suggestion...

  • Receive email notifications after contributions?

    I was wondering if there's an option to automatically receive email notifications after a contributer has posted comments/reviews. Otherwise I might forget to check or miss comments that were sent by the clients because I didn't know they updated the project. I checked the account settings and all but couldn't find an option for this.
    Thanks in advanced!

    You have to upgrade to a paid subscription to get email notifications.
    Randy

  • Email Notification after the backup job is complete

    I have the email working and it sends email after the differential and full backup is complete but I have added the logfile backup but it does not append to the same email. I did not write all the steps when I configured 1st time and I am screwed now. I
    have the database mail setup. Is that enough to send email after the job is complete. I want to email to read the path of the backup. I have done restart of the sql aAgent too but no luck. I have followed instruction on the following
    http://www.kodyaz.com/articles/sql2005-database-mail.aspx
    http://www.howtogeek.com/howto/database/sending-automated-job-email-notifications-in-sql-server-with-smtp/
    http://www.databasejournal.com/features/mssql/article.php/3626056/Database-Mail-in-SQL-Server-2005.htm

    Did you select "Enable Mail Profile" in SQL Server Agent properties? More details
    here
    Pradeep Adiga
    Blog: sqldbadiaries.com

  • Email Notification for long running session

    Dear All,
    I want to configure email notification for any long running session on my server which can be seen in SM66. Is there any possible way? Please suggest.
    Regards,
    Prem

    Hi Prem,
    I hope you doing good.
    Now, for the above query, I am not sure that we have any such MTE in CCMS for user specific session, however, a small custom code can be used to achieve such functions
    Here, you have to use some f Function Modules using CALL FUNCTION/FM in your abap code.
    These function modules are from TH* family like TH_DISPLAY_USER_LIST and TH_USER_INFO. Now the coder can file out the results based on some 'Threshold', which are in spool generated - convert this into PDF(if you want). Now schedules this custom program in background for every 10 mins, and notification will come through it on email ID or any DL.
    How to send email from job - How to email output from Background Jobs
    Regards,
    Divyanshu

  • How to send an automated email notification after dataloads complete.

    Please search the forums before posting
    Hi ,
    Hoq can we send an automated email notification once the daily data loads are complete.
    All the data loads are done through PC and after these got complete daily we need to send an automated e mail saying the loads are completed.
    Request your replies.
    Edited by: Arun Varadarajan on Mar 10, 2009 9:22 AM

    Hi,
    check this threads/links:
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/9bdd42cadf2878e10000000a155106/frameset.htm
    Process chains and Email alerts?
    process chain Email Notification
    E-mailing functionality on a process chain
    If you search SDN you will find much more...
    Regards
    Andreas

  • Email Notification after User Self Registers in OIM

    Hello there,
    Can you please tell me how can send an email notification to users as soon as they register themselves in OIM using the OOTB OIM Self Registration.
    Actually I am generating a unique User ID as a Post Insert in Create User Event Handler. By real question is to actually send this particular generated User ID to the user in an email - how can I do that?
    Thanks.

    The exact scenario is an end-user directly self registers himself providing all the necessary values of User ID, First Name, Last Name, Email, Password (mandatory fields). But I want this request to be directly completed/approved. I don't want any kind of administrator intervention in creating these users in OIM such as providing approval details, etc. So I have added the remaining necessary fields on self registration page itself for users to be filled out - Organization Name, User-Type, Employee Role. The user provides all these details on OIM self registration and it directly gets created in OIM.
    I have made an email definition of type "provisioning related" and included the necessary UDF's in it. And I have added this email defn to the "Email Notify" task of "Xellerate User" process. I have already checked the "Assignee", "Requester", "User" option box in the "Notification" tab. So now the problem is after user creation - the administrator is receiving an email containing the UDF values but the user is not receiving that. But the user is receiving the "Self Registration" email definition email which I don't want to send.
    So really speaking I want to send an email on User creation containing the UDF values - but it is not sending it. I have integrated the "Email Notify" task with "tcCompleteTask" system adapter. Am I missing anything?
    Please let me know as this func. needs to be in place asap.
    Thanks.

  • Why my pebble smart watch doesn't get email notifications after 8.2 download

    After doownloading 8.2 my pebble smart watch will not receive email notifications. Any solutions or did Apple change BT firmware to support Apple Watch.

    After doownloading 8.2 my pebble smart watch will not receive email notifications. Any solutions or did Apple change BT firmware to support Apple Watch.

  • Send a Failure Email Notification After Load Plan execution in ODI 11g

    Hi Experts,
    Greetings!
    I am trying to send an email if any of the step fails during Load Plan execution. Irrespective of the failed object, only 1 email should be sent to the Administrator. I unable to do this. Mails are getting sent for the no of times the no of object fails. For eg if 10 out of 100 steps fails, 10 emails are getting sent. I need to send only 1 email.
    I am using ODISendMail.
    I have tried various combinations however, all in Vain.
    For instance:
    root step --> Exeception Step (Send Failure Email) and Execption behaviour (Run Exception and Ignore). Using this because, I dont want to stop the load plan on the step failure.
    Interface1: Exeception Step (Blank) and Execption behaviour (Run Exception and Ignore).
    Interface2: Exeception Step (Blank) and Execption behaviour (Run Exception and Ignore).
    Exception not getting executed.
    Please help.
    Regards,
    Andy

    Thanks SH.
    I tried your suggestion as per below.
    1. Created global variable "v_cnt" with default value "0"
    2. Created package "pkg_v_cnt" to increment the variable by 1
    3. created package "pkg_sendError_Email" to check if v_cnt > 0 then Send Error Email.
    For Instance, the loan plan looks like this:
    root step --> Exeception Step (pkg_v_cnt) and Execption behaviour (Run Exception and Raise)
    Interface1: Exeception Step (pkg_v_cnt) and Execption behaviour (Run Exception and Ignore).
    Interface2: Exeception Step (pkg_v_cnt) and Execption behaviour (Run Exception and Ignore).
    Send Error Email (pkg_sendError_Email)
    The issue here is that, the variables are not getting the incremented value and hence unable to send email . The variable value remains "0" even after execution of the exception steps when both interfaces fails.
    Pls help.
    Thanks,
    Andy

  • USER EXIT: Email notification after PO creation

    Hi everyone!
    May I know if there exists a User Exit / BAdI in this following scenario:
    1. An email notification outside SAP is sent whenever there is a creation of PO (Purchase Doc)?
    Please advise if this is possible.
    Points will be rewarded for useful suggestions.
    Thank you very much in advance!
    Regards,
    Reymar
    Edited by: Reymar Ellazo on Apr 17, 2008 10:32 AM

    Instead of User-Exit/BADI use Output type technique. Via Output Type you can send notification mail. Discuss on the same with your functional consultant.

  • OIM11g: Send Email Notification after request is submitted/rejected

    Hi,
    For OIM 11g version 11.1.1.3 I've implemented an approval workflow (SelfRegistrationApproval) based on the Oracle OBE guide: "developing_oim_custom_approval_process_for_self_registration" and I've followed this guide to the teeth making no customizations. Right now I'm only able to get an email notification sent out to the requestor once the request has been approved. What I'm having trouble with is getting an email notification sent out when the request has been rejected. Does anyone know how to trigger an email notification to be sent out to the initiator of the request once the reject button is clicked in OIM?
    Thanks.

    any suggestion...

  • Send Email Notification after request is submitted/rejected

    Hi,
    For OIM 11g version 11.1.1.3 I've implemented an approval workflow (SelfRegistrationApproval) based on the Oracle OBE guide: "developing_oim_custom_approval_process_for_self_registration" and I've followed this guide to the teeth making no customizations. Right now I'm only able to get an email notification sent out to the requestor once the request has been approved. What I'm having trouble with is getting an email notification sent out when the request has been rejected. Does anyone know how to trigger an email notification to be sent out to the initiator of the request once the reject button is clicked in OIM?
    Thanks.

    any suggestion...

  • Not getting any email notification after configuration

    Hi
    I had configured in portal for E-Mail notification by using the following link .
    http://help.sap.com/saphelp_erp2004/helpdata/en/5a/d089b338769f40a3a86ea938701c3f/frameset.htm
    but still i am not getting any email notification when i reset or lock the user .
    Can any one tell me what should be done for that.
    Thanks
    shashank

    Hi shashank,
    you referenced the configuration for the collaboration service e-mail transport.
    This is needed for instance for the collaboration rooms invitation.
    For notifications about user management you will have to configure e-mail notification in the UME.
    See:
    http://help.sap.com/saphelp_erp2004/helpdata/en/41/080aab7cefe34d8acb04861a467efc/content.htm
    Best regards,
    Stefan Brauneis

  • Still getting email notification after stopping

    A couple of days ago I posted a question on the Acrobat forum and turned on email notification.  I turned email notification off about 5 hours ago and I'm still getting them.
    The prompt on my Acrobat forum screen says "Receive email notifications" so email notifications appear to be turned off.  But I'm still getting them.

    This ARTICLE might give you some tips on sorting out e-mail notifications.
    Here's hoping, as there seem to be more ways to get those, than there is to turn them off.
    Good luck,
    Hunt

Maybe you are looking for

  • Unable to use the thesaurus in a relaxation template

    I am trying to get a query relaxation template to use the thesaurus but I can't get the syntax correct. Is it possible? If so, please can someone tell me where I'm going wrong? create table test_table(company_name varchar2(100)); insert into test_tab

  • Layer Style Window Opening But Not Visable

    I just began having problems with Photoshop today. I wanted to apply Blending Options to a layer. The Layer Style window opened but it was nowhere to be found! Because I could not access this window to either perform a task or close it, I had to Cont

  • LIGHTROOM 4 TRIAL DOWNLOAD

    HAS ANYONE HAD THE SAME I DOWNLODED LIGHTROOM 4 TRIAL ONLY TO FIND IT WOULD NOT INSTALL BECAUSE ITS ONLY FOR VISTA OR LATER WOULD HAVE BEEN NICE TO KNOW PRIOR TO THE DOWNLOAD NOT AT THE END OF THE INSTALL OR IS THERE A LIGHTROOM 4 FOR WINDOWS XP;

  • Goto next frame in a movieclip from main timeline button

    So what I have is a button (named Next) on the main timeline. I have a movie clip on that frame (on the main timeline) and the movie clip has 3 frames that I want to be able to cycle through using the "Next" button that is on the main timeline. How c

  • HT5781 Occasionally does not start when I open or press the on switch

    Sometimes I appear to have no power and blank screen when i open my macbookair, and nothing happens when i press the power switch.. any suggestions?