Help Center> Cloud Bastion Host> User Guide> Operation> OM Task> Querying and Modifying OM Tasks
Updated on 2023-09-22 GMT+08:00

Querying and Modifying OM Tasks

You can edit steps in an OM task anytime you want to meet your changed requirements. You can view and edit task configuration, including the basic task settings, task steps, as well as execution date, period, and account or account group.

Prerequisites

  • You have the management permissions for the OM Task module.
  • You have obtained the access permissions for the resources.

Querying and Editing Task Configurations

  1. Log in to the CBH system.
  2. Choose Operation > OM Task > Task.
  3. Query OM tasks.

    • Quick search

      Enter a keyword in the search box to quickly query tasks by task name, resource name, and execution account.

    • Advanced search

      Enter keywords in the corresponding attribute search boxes to search for tasks in exact mode.

      Figure 1 Advanced search

  4. Click the name of the task or click Manage in the Operation column of the task row.

    Figure 2 Viewing details of an OM task

  5. On the displayed OM task details page, view and edit basic information.

    In the Basic Info area, click Edit. In the displayed dialog box, edit the details.

    • You can edit Task Name and Timing.
    Figure 3 Viewing basic information

  6. On the displayed OM task details page, view and edit basic information of the execution account.

    • To add or delete an execution account, click Edit in the Execute Account area and complete modifications in the displayed dialog box.
    • To only remove an execution account, click Remove in the row of the execution account. The removed account then cannot be to execute the OM tasks on the corresponding host.
    Figure 4 Viewing execution accounts

  7. In the displayed dialog box, view and edit basic information of the execution account.

    • To add or delete an execution account group, click Edit in the Execute Account Group area and complete modifications in the displayed dialog box.
    • To only remove an execution account group, click Remove in the row of the execution account group. Each account in the removed account group cannot be used for executing OM tasks on the corresponding host.
    Figure 5 Viewing execution account groups

  8. In the displayed OM task dialog box, view and edit task steps.

    • In the Task Step area, click Add. In the displayed Add Step dialog box, add one or more task steps as needed.
      Figure 6 Add Step
    • To modify an added task step, click Edit in the row of the corresponding step and complete modifications in the then displayed dialog box.
    • To only remove a task step, click Remove in the row of the task step. The removed task step will no longer be executed in the OM task.
    Figure 7 Viewing task steps

  9. View the execution history of an OM task in the History area.

    • To view the execution details of an OM task, click View in the Operation column of the corresponding row of the OM task.
    • To download execution details, click Export in the Operation column of the corresponding row of the OM task.
    Figure 8 Viewing execution results