Defining Job Notifications

The Notifications page of the Job Properties dialog, as shown in Figure 16.12, allows you to define the notification actions to perform when a job completes.

Figure 16.12 The Notifications page of the Job Properties dialog.

image

As discussed earlier in this chapter, notifications can be sent via email, pager, or NET SEND command. The notifications for a Schedule Job can be sent based on the following events:

• When the job succeeds

• When the job fails

• When the job completes

Each of these events can have a different notification action defined for it. For example, a notification might send an email if the job succeeds ...

Get Microsoft® SQL Server 2008 R2 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.