Creating a process task

This topic provides information about creating a process task. You can use a process task to run a command-line program on a managed system. A process task can be run immediately, scheduled to run at a specific time, or scheduled to run at regular intervals.

註: Remember that anything a system-account user can do from a command line can be done to the system, regardless of the user who is logged in to the managed system.

Complete the following steps:

  1. In the IBM Director Console Tasks pane, expand the Process Management task.
  2. Double-click the Process Tasks subtask.
  3. In the Process Task window, specify information about the command-line operation:
    1. In the Command field, type the fully qualified file name and command syntax. Consider the following information:
      • For managed systems running i5/OS™, the command is run in the QShell environment.
      • For managed systems running Windows®, preface the command with the following string to ensure that it runs in a Windows command-shell window:
        cmd /c
    2. Select the Log check box if the command produces text-based output, for example, a directory listing; then type a timeout value, in seconds. Make sure that the timeout value is long enough.
    3. (Optional) If you want to run the process using an alternate user account and override the default user ID, you can specify a user ID and password in the Login group box.
    註: (Managed systems running i5/OS only) Commands cannot be performed using the default user ID that is shipped with IBM Director. For a process task to run successfully to i5/OS systems, the process task must specify a valid user ID and password, or the managed system to which it is being run must be configured to specify a user that has the authority to run the process task. You can register that user in the IBM Director Agent default user function ID on the managed system using Application Administration in iSeries™ Navigator.
    註: You either must specify an alternate user ID, or remove the default user ID from the registered function and add a new default user ID that has the required authority to perform the command.
  4. Click File > Save As to save the process task.
  5. In the Save As window, type a name.
    註: The name for a process task should include the following information:
    • Type of process task that is to be run
    • Name of the process task that is to be run
    • Types of managed systems with which the process task will work correctly
  6. Click OK. The new process task is displayed under Process Tasks in IBM Director Console.
(C) Copyright IBM Corporation 1999,2005. All Rights Reserved.