Timer job reference (SharePoint Foundation 2010)

 

適用版本: SharePoint Foundation 2010

上次修改主題的時間: 2015-03-09

This article describes the default timer jobs for SharePoint Foundation 2010. A timer job runs in a specific Windows service for SharePoint Foundation. Timer jobs also perform infrastructure tasks for the Timer service, such as clearing the timer job history and recycling the Timer service; and tasks for Web applications, such as sending e-mail alerts. A timer job contains a definition of the service to run and specifies how frequently the service is started. The SharePoint 2010 Timer service (SPTimerv4) runs timer jobs. Many features in SharePoint Foundation rely on timer jobs to run services according to a schedule.

In this article:

  • Manage timer jobs

  • Default timer jobs

Manage timer jobs

You can check the status of a timer job and edit the timer job definition.

For the general administration of all jobs, the SharePoint Central Administration Web site has a Timer Job Status page and a Job Definitions page. You can find these pages in Central Administration, on the Monitoring page, in the Timer Jobs section.

From the View menu, you can filter the timer jobs at the following levels:

  • All   Displays all timer jobs for the farm.

  • Service   Displays all the timer jobs for a particular service. If you select this command, use the Service menu to select the service by which you want to filter the listed jobs.

  • Web Application   Displays all the timer jobs for a Web application. If you select this option, use the Web Application menu to select the Web application by which you want to filter the listed jobs.

  • Server   Displays all the timer jobs for the specified server. If you select this command, use the Server menu to select the server by which you want to filter the listed jobs.

  • Job Definition   Displays all the timer jobs for the specified job definition. On the Timer Job Status page, use the Job Definition menu to select the job definition by which you want to filter the listed jobs.

  • Failed Jobs   Displays all the timer jobs on the farm that have failed to finish.

The SharePoint 2010 Timer service (SPTimerv4) is based on the Gregorian calendar for scheduling. For every job that you schedule, you specify when the timer job will run, specified in a 24-hour time format. You must specify the time in local time instead of as an offset from Coordinated Universal Time (UTC). The time is stored in that format. Daily, weekly, and monthly schedules also include a window of execution. The timer service will select a random time within this interval to start executing the job on each applicable server. This feature is appropriate for high-load jobs that run on multiple servers on the farm. Running this kind of job on all the servers at the same time might place an unreasonable load on the farm. Timer job schedules can be specified by using Windows PowerShell. For more information, see 計時器工作 Cmdlet (SharePoint Foundation 2010).

Default timer jobs

The following table lists the default timer jobs for SharePoint Foundation 2010.

注意

Specific timer jobs and their schedules may differ from the following list depending on installed service pack version and cumulative updates (CUs). Before you install a SharePoint Foundation 2010 service pack or CU, you should make a record of existing timer jobs and schedules and check for differences after updating your farm.

Timer job title Description Schedule type

Application Addresses Refresh Job

Synchronizes connection information for remote service applications.

15 minutes

Audit Log Trimming

Trims audit trail entries from site collections.

Monthly

CEIP Data Collection

Gathers farm data for the Customer Experience Improvement Program.

Daily

Cell Storage Data Cleanup Timer Job

Deletes temporary cell storage data and frees SQL Server disk space.

Weekly

Cell Storage User Data Deletion Job

Deletes user data that is stored as cell storage. This job should only be run only if the SQL Server database server is running out of disk space.

重要

This job can cause user data loss and does not run automatically by default.

Monthly

Change Log

Removes expired entries from the change log of the Web application.

Daily

Config Refresh

Checks the configuration database for configuration changes.

15 seconds

Content Organizer Processing

Processes documents in the drop-off library that match organizing rules.

Daily

Dead Site Delete

When auto site cleanup is enabled, sites that have not been used in a certain period of time are deleted.

Daily

Delete Job History

Deletes old entries from the timer job history.

Weekly

Diagnostic Data Provider: Event Log

Collects Windows Event Log entries and stores the data in the logging database.

10 minutes

Diagnostic Data Provider: Performance Counters – Database Servers

Collects Performance Monitor Counters data on database servers and stores the data in the logging database.

重要

The timer service account must have sufficient permission to collect counters on the database server. The account should be a member of the Performance Monitor Users (PMU) group.

5 minutes

Diagnostic Data Provider: Performance Counters – Web Front Ends

Collects Performance Monitor Counters data on front-end Web servers and stores the data in the logging database.

5 minutes

Diagnostic Data Provider: SQL Blocking Queries

Collects data associated with blocked SQL queries and stores the data in the logging database.

15 seconds

Diagnostic Data Provider: SQL DMV

Collects SQL Dynamic Management Views (DMV) data and stores the data in the logging database.

30 minutes

Diagnostic Data Provider: Trace Log

Collects Trace Log entries and stores the usage data in the logging database and stores the data in the logging database.

10 minutes

Disk Quota Warning

Looks for sites that have exceeded the storage quota.

Weekly

Gradual Site Delete

Deletes all the data from the host content database for all deleted site collections.

Daily

Health Analysis Job (Daily, Central Administration, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run the Central Administration Web application and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Daily, Central Administration, Any Server)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run the Central Administration Web application and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Daily, Microsoft SharePoint Foundation Timer, All Servers)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that run the SharePoint Timer Service and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Daily, Microsoft SharePoint Foundation Timer, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs the SharePoint Timer Service and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Daily, Microsoft SharePoint Foundation Web Application, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run SharePoint Web applications and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Daily, Microsoft SharePoint Foundation Web Application, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs SharePoint Web applications and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Hourly, Claims Based Authentication, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run the Security Token Service (STS) and the Usage and Health Data Collection Service application.

Hourly

Health Analysis Job (Hourly, Microsoft SharePoint Foundation Timer, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run the SharePoint Timer Service and the Usage and Health Data Collection Service application.

Hourly

Health Analysis Job (Hourly, Microsoft SharePoint Foundation Timer, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs the SharePoint Timer Service and the Usage and Health Data Collection Service application.

Hourly

Health Analysis Job (Hourly, User Profile Service, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs Profile Services and the Usage and Health Data Collection Service application.

Hourly

Health Analysis Job (Monthly, Microsoft SharePoint Foundation Timer, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs the SharePoint Timer Service and the Usage and Health Data Collection Service application.

Monthly

Health Analysis Job (Weekly, Central Administration, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run the Central Administration Web site and the Usage and Health Data Collection Service application.

Weekly

Health Analysis Job (Weekly, Microsoft SharePoint Foundation Timer, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run the SharePoint Timer Service and the Usage and Health Data Collection Service application.

Weekly

Health Analysis Job (Weekly, Microsoft SharePoint Foundation Timer, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs the SharePoint Timer Service and the Usage and Health Data Collection Service application.

Weekly

Health Analysis Job (Weekly, Microsoft SharePoint Foundation Web Application, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run SharePoint Web applications and the Usage and Health Data Collection Service application.

Weekly

Health Analysis Job (Weekly, User Profile Service, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs Profile Services and the Usage and Health Data Collection Service application.

Weekly

Immediate Alerts

Sends out immediate and scheduled alerts.

5 minutes

Microsoft SharePoint Foundation Site Inventory Usage Collection

Collects site inventory information for each site collection in the farm.

Daily

Microsoft SharePoint Foundation Usage Data Import

Imports usage log files into the logging database.

30 minutes

Microsoft SharePoint Foundation Usage Data Processing

Checks for expired usage data at the farm level and deletes the data. Expired usage data consists of records in the central usage data collection database that are older than 30 days.

If the Web Analytics Service application is also installed, this timer job aggregates and writes the data to a Web Analytics Reporting database. You can run this timer job manually to force a check on expired data, or to force a usage data import to a Web Analytics application database.

Daily

Password Management

Sends e-mail and logs events for expiring passwords and password changes. This timer job helps ensure that managed passwords are changed before they expire.

Daily

Product Version Job

Checks the installation status of the computer and adds that data to the database.

Daily

Recycle Bin

Looks for content in the Recycle Bins and moves it to the next stage or deletes it.

Daily

Solution Daily Resource Usage Update

Marks the daily boundary for sandboxed solution resource quota monitoring.

Daily

Solution Resource Usage Log Processing

Aggregates resource usage data from sandboxed solution execution.

5 minutes

Solution Resource Usage Update

Records resource usage data from sandboxed solution execution, and sends e-mail to owners of site collections that are exceeding their allocated resource quota.

15 minutes

Timer Service Lock Management

Manages the content database locks that are used by the Timer Service to determine which server will run timer jobs for a content database.

1 minute

Timer Service Recycle

Recycles the Timer Service to free resources.

Daily

Upgrade Work Item Job

Processes deferred upgrade work items which were generated during a Windows SharePoint Services 3.0 to Microsoft SharePoint Foundation 2010 upgrade. For example, generating thumbnails for upgraded Image libraries.

Daily

Workflow

Processes workflow events that are in the scheduled items table, such as delays.

5 minutes

Workflow Auto Cleanup

Deletes tasks and instances in the workflow instance table for workflows that have been marked completed more than n days in the past, where n is specified in the workflow association. Crawls through tasks and the workflow instance table.

Daily

Workflow Failover

Processes events for workflows that have failed and are marked to be retried.

15 minutes