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

Arrow icon used with Back to Top link [Top]

Using SQL Server Management Studio

To set job execution shutdown

  1. In Object Explorer, , click the plus sign to expand the server where you want to set a job execution shutdown interval.

  2. Right-click SQL Server Agent and select Properties.

  3. Under Select a page, select Job System.

  4. 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.

Arrow icon used with Back to Top link [Top]