How to Send a Notification When a Job Completes on Unix?
search cancel

How to Send a Notification When a Job Completes on Unix?

book

Article ID: 39386

calendar_today

Updated On:

Products

CA Workload Automation AE - Scheduler (AutoSys)

Issue/Introduction

You can configure CA Workload Automation AE to send email notifications to operators or administrators who resolve problems or attend to emergencies.

How to Send a Notification When a Job Completes on Unix?

 

 

 

Environment

Workload Automation AutoSys 11.x/12.x

Resolution

There are TWO stages of configuration to successfully send out Email Notification;

- First configure $AUTOUSER/config.$AUTOSERV file with following parameters:

NotifyMethod=1

NotifySMTPHost

NotifySMTPFromAddress

UseSMTPAuthentication

NotifySMTPUser

 

NOTE:By default, the NotifySMTPHost, NotifySMTPFromAddress, UseSMTPAuthentication, and NotifySMTPUser are commented out. Be sure to remove the (#) in front of the parameters before configuring them.

Use this link to Configure CA Workload Automation AE to Send Email Notifications on UNIX.

 

- Then define these attributes in your AE job definition(s):

send_notification

notification_emailaddress

notification_msg

 

Here is an example that specifies that an email notification should be sent to [email protected] and [email protected] when the job completes, regardless of its status.

send_notification: 1

notification_emailaddress: [email protected]; [email protected]

notification_msg: The server appears to be down.

 

 

 

Additional Information

Visit the CA Workload Automation AE & Workload Control Center DocOps Space for more information about configuring and administrating the Workload Automation AE scheduler.