Partager via


Setholdschedule : opération Stsadm (Office SharePoint Server)

Mise à jour : 2007-05-17

Operation name: Setholdschedule

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.

Syntax

stsadm -o setholdschedule

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

Yes

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.