View timer job status (SharePoint Server 2010)

 

Applies to: SharePoint Server 2010, SharePoint Foundation 2010

A timer job runs a specific Windows service for Microsoft SharePoint Server 2010. The timer job contains a definition of the service to run and specifies how frequently the service is started. The Windows SharePoint Services Timer v4 service (SPTimerV4) runs timer jobs. Many features inSharePoint Server 2010 rely on timer jobs to run services according to a schedule. You can view the status of timer jobs that have been run by using the Central Administration Web site or Windows PowerShell.

In this article:

  • To view timer job status by using Central Administration

  • To view timer job status by using Windows PowerShell

View timer job status by using Central Administration

You can view timer job status by using Central Administration.

To view timer job status by using Central Administration

  1. Verify that the user account that is performing this procedure is a member of the Farm Administrators SharePoint group.

  2. In Central Administration, on the Home page, click Monitoring.

  3. On the Monitoring page, in the Timer Jobs section, click Check job status.

  4. Timer job status is divided into three groups: Scheduled, Running, and History. To page through the timer job status data rows, click the paging arrows at the bottom of these groups.

  5. To view the timer job status for a specific group, click the title of the group. Alternatively, in the Quick Launch, click Scheduled Jobs, Running Jobs, or Job History.

View timer job status by using Windows PowerShell

You can view timer job status by using Windows PowerShell.

To view timer job status by using Windows PowerShell

  1. Verify that you meet the following minimum requirements: See Add-SPShellAdmin.

  2. On the Start menu, click All Programs.

  3. Click Microsoft SharePoint 2010 Products.

  4. Click SharePoint 2010 Management Shell.

  5. At the Windows PowerShell command prompt (that is, PS C:\>), type the following command, and then press ENTER:

    Get-SPTimerJob [-Identity <Timer job name...>] | Format-Table -Property DisplayName,Id,LastRunTime,Status

    You can use the value of the Identity parameter to specify a timer job. If you do not use the Identity parameter, all timer jobs are returned.

    To view the history of a specific timer job, type the following command, and then press ENTER:

    (Get-SPTimerJob [-Identity <Timer job name...>]).HistoryEntries | Format-Table -Property Status,StartTime,EndTime,ErrorMessage

For more information, see Get-SPTimerJob.

Note

We recommend that you use Windows PowerShell when performing command-line administrative tasks. The Stsadm command-line tool has been deprecated, but is included to support compatibility with previous product versions.

See Also

Concepts

Monitoring overview (SharePoint Server 2010)