SiteScheduledJobs.cloneJob (Method)

Clones the specified Scheduled Job to run on a specified server.

Returns:

SiteScheduledJobID (integer)

Arguments:

Name Type Required Description
scheduledJobID SiteScheduledJobID Required The unique ID of the Scheduled Job to clone.
newDisplayName PlainText_NonNull_100 Required The new display name for the cloned instance of the job.

Context:

License Requirements (none)
Permission Requirements site:SiteAdmin
Deny Context ClusterROPS
Require Context (none)
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization Customization is not supported for this method.

Error Codes:

Code Error Message
39000 Another scheduled job with the same name already exists.
39019 No jobs can currently be created from this job definition ('$1')

Notes:

None