In the Task tab, you specify a command or script that you want to run on the managed node, as well as any messages that you want to receive.
Command: Type the command that you want to run on the managed node
If the command is not in the action, command, monitor or
category
directory on the managed node, or in the default path for the user
account under which the command will be run, then the path to the
command must be included. (The action, command, monitor and
category directories are located under Program Files\HP\HP
BTO Software\Installed
Packages\{790C06B4-844E-11D2-972B-080009EF8C2A}\bin\OpC\vpwin\
)
If you type the password, then a standard Windows logon as user is performed before executing the command. If no password is entered, then an HPOM switch user is performed before executing the command.
Should I provide the password or not?
Type the Perl script in the window. Refer to Policy objects and examples for information about writing scripts for HP Operations.
NOTE:
The agent runs as a service that has no standard input, standard
output, or standard error. Therefore, the predefined file handles
STDIN, STDOUT, and STDERR are not available for Perl scripts in
scheduled task policies. It is also not possible to open file
handles that use command pipes or capture the standard output from
commands within backticks (`).
Related Topics: