Set Job Execution Shutdown (SQL Server Management Studio)
This topic describes how to set the time that Microsoft SQL Server Agent will wait for executing jobs to finish before SQL Server Agent itself finishes in SQL Server 2012 by using SQL Server Management Studio.
In This Topic
Before you begin:
Security
To set a shutdown time for a SQL Server Agent job, using:
SQL Server Management Studio
Before You Begin
Security
Permissions
By default, members of the sysadmin fixed server role can set the time that Microsoft SQL Server Agent will wait for executing jobs to finish before SQL Server Agent itself finishes. Other users must be granted one of the following SQL Server Agent fixed database roles in the msdb database:
SQLAgentUserRole
SQLAgentReaderRole
SQLAgentOperatorRole
[Top]
Using SQL Server Management Studio
To set job execution shutdown
In Object Explorer, , click the plus sign to expand the server where you want to set a job execution shutdown interval.
Right-click SQL Server Agent and select Properties.
Under Select a page, select Job System.
Set the Shutdown time-out interval in seconds to increase or decrease the shutdown time-out interval. This determines how long SQL Server Agent will wait for executing jobs to finish before SQL Server Agent itself finishes.
[Top]