View timer job status (SharePoint Foundation 2010)
Published: May 12, 2010
A timer job runs a specific Windows service for Microsoft SharePoint Foundation 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 Foundation 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:
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
Verify that the user account that is performing this procedure is a member of the Farm Administrators SharePoint group.
In Central Administration, on the Home page, click Monitoring.
On the Monitoring page, in the Timer Jobs section, click Check job status.
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.
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
Verify that you meet the following minimum requirements: See Add-SPShellAdmin.
On the Start menu, click Administrative Tools.
Click SharePoint 2010 Management Shell.
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
Identityparameter to specify a timer job. If you do not use the
Identityparameter, 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.
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.