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

book

Article ID: 39386

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) CA Workload Automation Agent

Issue/Introduction

Introduction: 

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

 

Question: 

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

 

Environment:

Workload Automation AE 11.3.5 and 11.3.6+

 

Answer: 

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

 

NotifySMTPUse

 

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.

 

 

Environment

Release: ATSYHA99000-11.3.6-Workload Automation AE-High Availability Option
Component: