createAll schedule

Creates all schedules described in an XML file.

See Also

create schedule

Syntax

createAll schedule --INPUT_FILE=xml_filename [--DUPE_METHOD=action [--IGNORE_INVALID_STATE=state]]

or

createAll schedule -i xml_filename [-d action [-s state]]

Parameters

xml_filename

Path to the XML document that contains the object descriptions. See schedule.

action

Action to take when an object already exists:

  • error: The createAll command fails with an error. (Default)

  • ignore: The existing object description is kept.

  • overwrite: The new description replaces the existing object description.

state

Controls whether processing continues when an object cannot be overwritten because it is in an invalid state. This option is used only when --DUPE_METHOD=overwrite.

  • true: Continue processing with the next object.

  • false: Stop processing with an error and roll back all changes. (Default)

Example

This example creates three schedules described in schedule.xml. Two of the schedules already exist.

SES>createAll schedule --INPUT_FILE=schedule.xml --DUPE_METHOD=ignore
 
createAll operation succeeded for type "schedule".
 
  3 object(s) with status CREATE_SUCCEEDED
  2 object(s) with status DUPLICATE_IGNORED