Updated on 2026-11-09 GMT+08:00

Creating an OM Task

You can create auto OM tasks to let the bastion host automatically execute the task according to task steps, task types, resources, and execution mode you configure. For example, you can create an OM task to upload system disk files or local files to many designation hosts. With the fast operation, a bastion host automatically executes OM tasks based on your configured execution period and time. In addition, it can automatically execute multiple types of tasks concurrently on multiple devices, improving the OM efficiency.

  • Multiple OM tasks can be concurrently performed step by step on multiple resources that use the SSH protocol, including command, script, and file transfer OM tasks.
  • After an operation task is submitted, the system automatically performs operations in sequence and returns the execution result.

Constraints

  • Fast operation is supported by professional editions only.
  • Automated operation tasks can be executed only on Linux host resources that use the SSH protocol.
  • Currently, automated operation tasks cannot be performed on Windows host, database, or application resources.
  • Operation tasks created by you can be managed only by yourself and cannot be managed by other system users.

Prerequisites

  • The role you belong to has the management permission for the OM Task module. For details about how to check the permissions of each role, see Role.
  • You have obtained the access permissions for the resources.
  • The network between the managed hosts and the bastion host is connected.

Creating an Automated Operation Task

  1. Log in to your bastion host system.
  2. In the navigation pane, choose Operation > OM Task. The operation task list page is displayed.
  3. Click New in the upper right of the OM Task area.
  4. Configure basic information about the task.

    Table 1 Basic task information parameters

    Parameter

    Description

    Task Name

    Name of the task. The value of Task Name must be unique in the system.

    Timing

    Execution mode of the operation task. The options are Manual, Scheduled, and Cycle.

    You need to configure the execution time if Fixed-Time or Cycle is selected.

    • Manual: indicates that you need to manually start the task.
    • Fixed-Time: indicates that the task will start at the specified time. This type of rule is executed only once.
    • Cycle: indicates that the task will start periodically at the specified interval. This type of password rule is triggered periodically.

    Execute Time

    Date when the task is periodically executed. The default execution time is at 00:00 every day.

    Cycle Frequency

    Task execution frequency.

    • The options are every minute, every hour, every day, every week, and every month.
    • Set the End Time for this type of tasks. Otherwise, the tasks will be executed periodically forever.

    Options

    (Optional) If you have no permissions for the selected accounts, select Sudo to escalate your privilege and execute the task under the sudoers file.

    Remarks

    Brief description of the operation task.

  5. Click Next and configure the execution account or account group.

    • You can associate a rule with multiple managed resource accounts or account groups at once.
      • Select an execution account or account group: On the Execute Account or Execute Account Group tab, select a resource account or account group from the Selectable accounts or Selectable account groups area, and click to move it to the Selected accounts or Selected account groups area.
      • Remove an execution account or account group: On the Execution Account or Execution Account Group tab page, select a resource account or account group from the Selected accounts or Selected account groups area, and click to move it to the Selectable accounts or Selectable account groups area.
    • After an account group is associated with an OM task, the new resource accounts added to the account group automatically inherit the task permissions of the account group.

  6. Click Next and set task steps.

    1. Click Add Step and select Command, Script, or Transfer File.
    2. Select one or more task types and set task parameters.

      Multiple steps can be added to an operation task.

  7. Click OK. The system returns to the task list page, and you can view the information about the new operation task.

    You can download the execution logs to obtain the task execution results.