How to: Write the Job Status to the Windows Application Log (SQL Server Management Studio)

This topic describes how to configure Microsoft SQL Server Agent to write job status to the Windows application event log.

To write the job status to the Windows application log

  1. In Object Explorer, connect to an instance of the SQL Server Database Engine, and then expand that instance.

  2. Expand SQL Server Agent, expand Jobs, right-click the job you want to edit, and then click Properties.

  3. Select the Notifications page.

  4. Check Write to Windows application event log, and choose one of the following:

    • ClickWhen the job succeedsto log the job status when the job completes successfully.

    • ClickWhen the job failsto log the job status when the job completes unsuccessfully.

    • ClickWhen the job completes to log the job status regardless of completion status.

See Also

Concepts