Setpolicyschedule: Stsadm operation (Office SharePoint Server)

From Stsadm

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.

Operation name: Setpolicyschedule

Description

Sets the schedule for processing changes to a policy on the items that are impacted by that policy. For example, when you change the policy on a content type, all items of that type will be updated.

Syntax

stsadm -o setpolicyschedule

   -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 how often the policy framework processes changes to a policy. The value should be a properly formatted SPTimer argument.