Friday, January 30, 2015

How to View timer job status in SharePoint 2013

How to View timer job status in SharePoint 2013

Description : A timer job runs a specific Windows service for SharePoint 2013. The timer job contains a definition of the service to run and specifies how frequently the service is started. The SharePoint Timer Service runs timer jobs. Many features in SharePoint 2013 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 website or Windows Power Shell

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 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. Or, in the Quick Launch, click Scheduled Jobs, Running Jobs, or Job History.

To view timer job status by using Windows Power Shell

1.    Verify that you have the following memberships:

·         securityadmin fixed server role on the SQL Server instance.
·         db_owner fixed database role on all databases that are to be updated.
·         Administrators group on the server on which you are running the Windows PowerShell cmdlets.
An administrator can use the Add-SPShellAdmin cmdlet to grant permissions.

1.    On the Start menu, click All Programs.
2.    Click Microsoft SharePoint 2013 Products.
3.    Click SharePoint 2013 Management Shell.
4.    At the Windows PowerShell command prompt, type the following command:

Get-SPTimerJob -Identity <SPTimerJobPipeBind> | Format-Table DisplayName,Id,LastRunTime,Status

Where <SPTimerJobPipeBind> can be a valid GUID, in the form 12345678-90ab-cdef-1234-567890bcdefgh; a valid name of a timer job (for example, TimerJob1); or an instance of a valid SPTimerJob object.

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:

(Get-SPTimerJob -Identity <SPTimerJobPipeBind>).HistoryEntries | Format-Table -Property Status,StartTime,EndTime,ErrorMessage

I hope the above information will help you to resolve the issue, in case of any queries/questions regarding the above mentioned information then please let me know. I would be more than happy to help you as well as resolves your issues, Thank you.

No comments:

Post a Comment

Your feedback is Much Appreciated. I will try to reply to your queries as soon as possible!!Anil Avula