Use the Command Definitions page to create a command definition
that is saved to the Command Automation page in the IBM® Systems
Director Web interface. When
you create and save a command definition, you can then apply it to
a system and run the command. This page is also used to edit an existing
command definition.
Note: This task requires the IBM Systems
Director Launched Tasks program. This
program is installed automatically the first time you use a task that
requires it. For information about the IBM Systems
Director Launched Tasks program, see "Starting
the IBM Systems
Director Launched Tasks program."
Menu bar
- File >
- Open
- Displays the Open page in which you can select an existing command
definition. The information for the selected command definition is
used to complete the fields of the command definition that you are
creating. You can then change any of the fields and save the data
using the Save As or Save option
to create a new command definition.
- Save
- Saves the data on this page as an update to the existing command
definition. This option is enabled if you have opened an existing
command definition or copied the information of an existing command
definition into this page.
- Save As
- Displays the Save As page in which you can
enter a new name for this command definition or select an existing
command definition name. If you select an existing command definition
name, you are prompted to confirm that you want to overwrite the existing
command definition with the command specified in this command definition.
- Close
- Closes the window.
- Help >
- Command Definition
- Displays help information for the Command Definition page.
- Index
- Displays the IBM Systems Director Help
Index.
Fields
- Command
- Command
- Specifies the file path and syntax of the command that you want
to run.
- Timeout (Seconds)
- This field specifies the amount of time, in seconds, to wait for
the command to return a completion code or timeout. This field is
active only when you select the Log option.
- Log
- Records the standard output and standard error information in
the IBM Systems Director scheduler
log. When the command definition task is initiated, it and its execution
history are listed in the left-hand pane of the Scheduler page. You
can then select the task to view associated execution details in the
right-hand pane. Selecting this option enables the Timeout
(Seconds) option.
When Log is
not selected and a command definition task is performed, IBM Systems Director does not
wait for the task to complete; it is unknown whether the task ran
correctly. If the command is submitted successfully, it is displayed
as having completed regardless of the actual status of the task.
If
logging is enabled, IBM Systems Director waits for
the command definition task to complete. If the task fails, the failure
is displayed in the task status.
- Login
- User ID
- A user ID you enter to override the default user ID.
- Password
- If the user ID specified requires a password, type the password.