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
In Object Explorer, connect to an instance of the SQL Server Database Engine, and then expand that instance.
Expand SQL Server Agent, expand Jobs, right-click the job you want to edit, and then click Properties.
Select the Notifications page.
Check Automatically delete job, and choose one of the following:
ClickWhen the job succeedsto delete the job status when it has completed successfully.
ClickWhen the job failsto delete the job when it has completed unsuccessfully.
ClickWhen the job completes to delete the job regardless of completion status.