
Managing Command Line Task
Using the Sample - Server XML Configuration Command Line Task
Generic Command
Field Description
Task Name Enter a name for the task. By default, the task name is
populated in the format:
<task name>-<date and time>.
Command Provide the fully qualified path name and file name of the
executable, command, or script file that launches the
application program. For example:
• Tracert
• C:\scripts\trace.bat
• D:\exe\recite.exe
Arguments Enter command line switches to a command or
executable or pass values to a script or batch file. For
example, -4 $IP. If this argument is passed to tracert
command, it executes IPV4 only Traceroute against the
IPs of servers selected in Task Target tab. The command
run would be tracert -4 10.35.0.55 .
For more information, see About Tokens.
Ping Device This option performs a ping test to verify if a device is
reachable before it runs a task against it. This option can
be used when using $IP or $RAC_IP and it decreases the
time it takes to run the task(s) as it skips unreachable
devices.
Output to file Select to enable output to a log file. This option captures
standard output from the running application and writes it
to the log file. If you select this option, you must enter the
path name and file name of the log file. This option is
disabled by default.
Append Select this option to continue writing to the same file if
you run a task multiple times.
Include errors Select to write all OpenManage Essentials-detected
errors to the log file. For example, if no response is
received to a ping request before the execution of the
command, an error is written to the log file.
Schedule and Credentials
Set schedule Select from these options:
• Activate Schedule—Select this option to activate
a schedule for the task.
• Run now—Select this option to run the task
immediately.
• Set schedule—Select this option to set a date
and time for the task to run.
169
Kommentare zu diesen Handbüchern