send email when the job is running longer

All questions about Control-M jobs definitions
Post Reply
User avatar
anirudhrh
Nouveau
Nouveau
Posts: 48
Joined: 21 Sep 2013 12:00

send email when the job is running longer

Post by anirudhrh » 07 Dec 2013 10:29

How to send email when the job is running longer??
Anirudh

User avatar
vamsikumar
Nouveau
Nouveau
Posts: 10
Joined: 23 Aug 2013 12:00
Location: Banglore

Post by vamsikumar » 10 Dec 2013 9:18

You can set an email alert in PostProc tab if job running more than some defined time. [Ex: Running more than 120 minutes]
Vamsi Kumar D

User avatar
anirudhrh
Nouveau
Nouveau
Posts: 48
Joined: 21 Sep 2013 12:00

Post by anirudhrh » 11 Dec 2013 9:25

Vamsi ,

Post proc would only throw an alert to the alert server. how would it send an email ?
Anirudh

User avatar
Manii
Nouveau
Nouveau
Posts: 46
Joined: 28 Jul 2011 12:00

Post by Manii » 11 Dec 2013 11:30

Hi Anirudh,

You need to define a shout destination table and new destination in control-m server system parameter .

you can add an destination and email type in your default shout table SYSTEM as follow,
then while defining job in post-proc "TO" value you can give this email shout table logical name , in this example its EMAIL
Then alert pointing to EMAIL destination would be send to abc@abc.com from Control-M server

=============================
Adding new shout destination table

Enter Option:n

Dest. Type: (U)ser, (M)ail, (T)erminal, c(O)nsole, (L)og, (P)rogram, CONTROL-M/(E)M:M
Address Type: (S)erver or (A)gent:s
Logical Name:EMAIL
Physical Name:abc@abc.com

add completed successfully


Press ENTER to continue:

Shout Destination Table 'SYSTEM'

Thanks,
Chandramani

User avatar
Gopikkd
Nouveau
Nouveau
Posts: 154
Joined: 25 May 2009 12:00
Location: Bangalore

send email when the job is running longer

Post by Gopikkd » 08 Jan 2014 10:12

Excellent Mani.

Post Reply