Creating a program execution task

You can run a program startup task or command execution task.

If the standard output file or error output file reaches a size of 100 KB when the task is running, some of the data is deleted from the file. The file will not contain all the data.

To create a task for starting a program or executing a command:

  1. Select the Tasks section in the program web interface window.

    This opens the task table.

  2. Click the Add button and select Run program.

    This opens the task creation window.

  3. Configure the following settings:
    1. In the File path and Working directory fields, enter values in one of the following ways:
      • In the File path field, enter the full path to the executable file (for example, C:\Windows\System32\ipconfig.exe). Leave the Working directory field empty.
      • In the File path field, enter the name and extension of the executable file (for example, ipconfig.exe). In the Working directory field, enter the path to the folder containing the executable file (for example, C:\Windows\System32\).
    2. In the Arguments field, enter additional options for running the file or task (for example, the /all argument).
    3. In the Description field, enter the task description. This field is optional.
    4. Configure the Task for setting, that is, the task scope:
      • If you want to run the task on all hosts of all servers, select the All hosts option.
      • If you want to run the task on selected servers, select the Specified servers option and on the right of the Servers parameter name select the check boxes next to the names of the servers on which you want to run the task.

        This option is available only when distributed solution and multitenancy mode is enabled.

      • If you want to run the task on selected hosts, select the Specified hosts option and list these hosts in the Hosts field.
  4. Click the Add button.

The program startup task or command execution task will be created.

Example:

To run the ipconfig /all command on the host with IP address 10.10.10.1:

  1. Select the Tasks section in the program web interface window.

    This opens the task table.

  2. Click the Add button and select Run program.

    This opens the task creation window.

  3. Configure the following settings:
    1. In the File path and Working directory fields, enter values in one of the following ways:
      • In the File path field, enter C:\Windows\System32\ipconfig.exe. Leave the Working directory field empty.
      • In the File path field, enter ipconfig.exe. In the Working directory field, enter C:\Windows\System32\.
    2. In the Arguments field, enter /all.
    3. In the Description field, enter the task description.
    4. Select the Specified hosts task scope.
    5. In the Hosts field, start entering characters of the IP address 10.10.10.1, and when this IP address is displayed in the drop-down list of search results below, select it.
  4. Click the Add button.

See also

Managing tasks

Viewing the task table

Viewing information about a task

Creating a process termination task

Creating a file download task

Creating a file deletion task

Creating a file quarantine task

Creating a quarantined file recovery task

Creating a copy of a task

Deleting tasks

Filtering tasks by creation time

Filtering tasks by type

Filtering tasks by name

Filtering tasks by file name and path

Filtering tasks by description

Filtering tasks by server name

Filtering tasks based on the name of the user that created the task

Filtering tasks by processing status

Clearing a task filter

Page top