Configure SharePoint Health Analyzer timer jobs in SharePoint 2013


Applies to: SharePoint Foundation 2013, SharePoint Server 2013

Topic Last Modified: 2016-12-16

Summary: Learn to configure health data collection timer jobs by using the SharePoint Central Administration website or Windows PowerShell.

SharePoint Health Analyzer uses timer jobs to collect health data and then writes the data to the logging folder and to the Logging database. This data is used in reports to display health of the farm servers. You can reschedule these timer jobs, run them immediately, or enable or disable them.

On that page, you can also configure usage data collection, event selection, and usage data collection settings. For more information, see Configure usage and health data collection in SharePoint 2013.

In this article:

For more information about SharePoint 2013 monitoring configuration, see Configure monitoring in SharePoint 2013.

Because SharePoint 2013 runs as websites in IIS, administrators and users depend on the accessibility features that browsers provide. SharePoint 2013 supports the accessibility features of supported browsers. For more information, see the following resources:

You can use Central Administration to configure health data collection timer jobs.

To configure health data collection timer jobs by using Central Administration
  1. Verify that the user account that is performing this procedure is a member of the Farm Administrators group.

    The health data collection timer job settings are farm-wide and cannot be set for individual servers in the farm.
  2. In Central Administration, on the home page, click Monitoring.

  3. On the Monitoring page, in the Reporting section, click Configure usage and health data collection.

  4. On the Configure usage and health data collection page, in the Health Data Collection section, click Enable health data collection.

  5. In the Health Data Collection section, click Health Logging Schedule. The Job Definitions page opens. It lists all the timer jobs that collect health data.

  6. On the Job Definitions page, click the timer job that you want to configure.

  7. On the Edit Timer Job page, in the Recurring Schedule section, change the timer job schedule, and then click OK.

You can configure the health data collection timer job schedule by using Windows PowerShell.

To configure health data timer jobs by using Windows PowerShell
  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.

    • Add memberships that are required beyond the minimums above.

    An administrator can use the Add-SPShellAdmin cmdlet to grant permissions.

    If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about Windows PowerShell permissions, see Add-SPShellAdmin.
  2. On the Start menu, click All Programs.

  3. Click Microsoft SharePoint 2013 Products.

  4. Click SharePoint 2013 Management Shell.

  5. At the Windows PowerShell command prompt, type the following command:

    Set-SPTimerJob -Identity <SPTimerJobPipeBind> -Schedule <ScheduleString>

    The value of the Identity parameter specifies the timer job. If you do not use the Identity parameter, all timer jobs are configured. To see a list of all the timer jobs, type the following command:

    Get-SPTimerJob | Format-Table -property id,title

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

    Use the value of the Schedule parameter to specify the schedule, where <ScheduleString> is one of the following:

    • Every 5 minutes between 0 and 59

    • Hourly between 0 and 59

    • Daily at 15:00:00

    • Weekly between Fri 22:00:00 and Sun 06:00:00

    • Monthly at 15 15:00:00

    • Yearly at Jan 1 15:00:00

    To see examples of timer job schedules, type the following command:

    Get-SPTimerJob | Format-Table -property id,title,schedule

For more information, see Get-SPTimerJob and Set-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.