on 04-28-2016 9:49 PM
Hello
I have a job which usually runs for 3 to 4 hours. But sometimes due to more data load it takes up to 8 hours to complete. I have a requirement to send an email notification when the job starts to run, and after 4 hours if its still running again a notification has to be sent and finally upon completion another email to be sent.
Is this possible to do using Job Actions (Pre-running and Post running)? If so how can i do it.
If not job actions, is there any other way to achieve it.
Please help
Thank You
Nanda,
You can achieve this as below.
In Pre running a script a code to send email to indicate the start of the job.
In Run time limits set the maximum run time to as per your requirement and send alert escalation.
In post running similar script like pre-running script to send email to indication the end of the job.
Or
Add this job in chain
set one System_Mail_Send in step 1 to send job start notification
Your job in step 2 ->set run time limits and alert escalation.
again System_Mail_Send in step 3 to send job end notification
Hope this helps!!
Regards,
Ravindranath Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
It is best to use Runtime Limits for this purpose. You can raise an event on these types of timeouts.
Regards Gerben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.