Setcontentdeploymentjobschedule: 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: Setcontentdeploymentjobschedule

Description

Enables the user to create an advanced schedule to run a deployment job. A job is associated with a path, and defines the specific content to be deployed from the source to the destination and the schedule on which the deployment should occur.

ImportantImportant:
This operation is case-sensitive. If you run the operation by using an uppercase "S", the following error message is displayed: "Windows SharePoint Services administration tool has encountered a problem and needs to close. We are sorry for the inconvenience."

Syntax

stsadm -o setcontentdeploymentjobschedule

   -jobname <name>

   -schedule <schedule>

Parameters

Parameter

Value

Required?

Description

jobname

A valid job name, such as "Job1"

Yes

Name of the deployment job

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

Specifies the schedule that will be used for the job. It should be a properly formatted SPTimer argument.