Share via


How to: Automatically Delete a Job (SQL Server Management Studio)

This topic describes how to configure Microsoft SQL Server Agent to automatically delete jobs when they succeed, fail, or complete.

To automatically delete a job

  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 Automatically delete job, and choose one of the following:

    • Click When the job succeeds to delete the job status when it has completed successfully.
    • Click When the job fails to delete the job when it has completed unsuccessfully.
    • Click When the job completes to delete the job regardless of completion status.

See Also

Concepts

Implementing Jobs

Help and Information

Getting SQL Server 2005 Assistance