Notifications can be set for a variety of events for a job as it proceeds through the system.
To set the notification events for jobs in EnterpriseSCHEDULE:
Click on the Notify tab in the Properties window.
There are six types of events that trigger notification processing. Select the event type and the notification type by selecting the appropriate check boxes. The events are listed below:
Event |
Description |
Event |
Description |
SUBMITTED |
job was submitted for execution |
STARTED |
job has started execution in the batch queue (VMS Only) |
DELAYED |
job is currently behind schedule |
COMPLETED |
job has completed execution |
FAILED |
job execution has failed |
Notifications may be sent via E-mail, Windows Event Log (Windows jobs only) or to a Windows Messenger window. Check off the desired type of notification (E-mail, Event Log or Messenger) for each type of event. You may select either, both or neither type of notification.
The notify section may contain preprocessor directives that will be filled in at runtime. Click on the Preview button to display the notes with all preprocessor directives interpreted.
In addition, these custom strings can be added to the notification list that control the way notifications are processed.
Note:
The keywords below must be entered in all capital letters for the notification option to work correctly.
String |
Description |
EMAIL="address<,address>" |
allows specification of additional e-mail addresses to send mail messages to. The list can be comma separated, or you can add multiple EMAIL= lines in the file. |
BROADCAST="user<,user>" |
allows specification of additional user opcoms/net sends/terminal messages. The list can be comma separated, or you can add multiple BROADCAST= lines in the file. MESSENGER= can be used as well. |
MAIL_SUBJECT="subject" |
allows the user to customize the mail message subject. They can incorporate environment variables into the control string. The user would need to look at the notify script for a full list of the environment variables defined. The environment variables referenced in the MAIL_SUBJECT must be in the format required. |
SEND_LOG |
available for completed and failed events, and simply appends the most recent log file to the end of the mail message. It is ignored for other event types. |
INCLUDE="text" |
allows another job's notice text to be included in the current job's notice section at runtime. This is similar to the INCLUDE= functionality used in resource processing. Basically it allows the definitions that are used in multiple locations to be centralized. |
You may also set a e-mail address and message text for each type of event. The event types are selected from a drop down menu.
To set the e-mail and Message text settings for notifications: