Setholdschedule: Stsadm operation (Office SharePoint Server)

SharePoint 2007

Updated: May 17, 2007

Applies To: Office SharePoint Server 2007


Topic Last Modified: 2007-05-11

Sets the schedule to process all records that are on hold (records whose retention schedules are suspended). If the hold is no longer enabled, resumes the record retention policies to ensure that all records on hold are processed. In addition, generates a hold report, which is in the form of a Microsoft Office Excel worksheet that is placed in the Hold Reports document library. One report is generated for each Record Center site.

The setholdschedule operation does not process the “search and add to hold” requests. These are handled by the setsearchandprocess operation.

stsadm -o setholdschedule

   -schedule <recurrence string>







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"


Sets the schedule for the hold timer job (that is, how often the iteration process executes through the farm and performs the timer functions). The value should be a properly formatted SPTimer argument.