SiteScheduledJobs.deleteJobDefinition (Method)

Deletes the specified Job definition, plus any Scheduled Jobs that were created from it.

Returns:

Void

Arguments:

Name Type Required Description
jobDefinitionID PositiveInteger Required The ID of the job definition to be deleted.
ignoreWarnings Boolean Required Boolean flag which when set indicates that warnings should be ignored. If this value is false, this method throws an error with a warning message.

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
39005 The specified job definition is not a valid $1 level job definition.

Notes:

None