Description
This command exports Schedule Definitions and Schedule Patterns common to all process groups.
Synopsis
swrba_scheduleexport [-pg process group ID [-sd Schedule Definition name| -sp Schedule Pattern name]] -d export directory |
Options
Specify the process group ID for which Schedule Definitions and Schedule Patterns common to all process groups are to be exported. An error will occur if the specified process group does not exist. Nothing will be output if there are no Schedule Definitions or Schedule Patterns in the specified process group. If this option is omitted, all of the Schedule Definitions and Schedule Patterns that have been defined on the Systemwalker Runbook Automation Management Server will be exported.
Specify the name of the Schedule Definition to be exported. Specify a Schedule Definition that exists in the process group specified by the "-pg" option. An error will occur if the Process Definition specified by this option does not exist in the process group specified by the "-pg" option. Similarly, an error will occur if this option is specified without specifying the "-pg" option.
Specify the name of the Schedule Pattern to be exported. Specify a Schedule Pattern that exists in the process group specified by the "-pg" option. An error will occur if the process pattern specified by this option does not exist in the process group specified by the "-pg" option. Similarly, an error will occur if this option is specified without specifying the "-pg" option.
If the "-pg" option is specified when the "-sd" and "-sp" options are omitted, all of the Schedule Definitions and Schedule Patterns defined in the process group specified by the "-pg" option will be exported.
Specify the directory to which the Schedule Definition and Schedule Pattern are to be exported. The Schedule Definitions and Schedule Patterns will be output to the directory specified by this option, in the following structure. This option cannot be omitted.
- Export directory - Process group ID - Schedule Definition name - Schedule Definition - - Schedule Pattern name - Schedule Pattern
Return Values
Normal termination
Abnormal termination
Command Location
[Windows]
<Systemwalker Runbook Automation Management Server installation directory>\bin |
[Linux]
/opt/FJSVswrbam/bin |
Privilege Required/Execution Environment
[Windows]
This command requires administrator privileges. When using Windows Server 2008 or later operating system, run as an administrator.
This command can be executed on a Process Management Server
[Linux]
This command can only be executed by a system administrator (superuser).
This command can be executed on a Process Management Server
Note
Do not edit the exported Schedule Definitions or Schedule Patterns. Schedule Definitions and Schedule Patterns that have been edited cannot be imported correctly.
Example
The following command exports all of the Schedule Definitions and Schedule Patterns in the "sample0001" process group to the "C:\work" directory.
swrba_scheduleexport -pg sample0001 -d C:\work |
Execution Result/Output Format
FSP_SW/RB-A_BASE: INFO: 04200: Schedule definition/schedule pattern export is about to start. |