Share via


Setsearchandprocessschedule: Stsadm operation (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

 

Topic Last Modified: 2015-03-09

Operation name: Setsearchandprocessschedule

Description

Permits custom code to take action on the entire set of search results. For example, the Search and Add to Hold page, which is part of the Records Center Site Template, allows users to specify a search query. The results of this query are saved, and, when the search and process timer job runs, the results are added to a specified hold. This operation allows customers to set how often the timer job will run.

Syntax

stsadm -o setsearchandprocessschedule

**   -schedule <recurrence string>**

Parameters

Parameter Value Required? Description

schedule

A valid Windows SharePoint Services Timer service (SPTimer) schedule in the form of any one of the following schedules:

  • "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"

An acceptable default value is “once every 24 hours.”

Yes

Sets the schedule for when the search and process timer job runs. The value should be a properly formatted SPTimer argument.