Creating an application execution task
February 16, 2024
ID 247674
You can create an application running 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 running an application or executing a command:
- Select the Tasks section in the application web interface window.
This opens the task table.
- Click Add and select Run application.
This opens the task creation window.
- Configure the following settings:
- 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.When creating a task, the application does not check if the specified path to the executable file is valid.
- 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 working directory (for example,C:\Windows\System32\
).
- In the File path field, enter the full path to the executable file (for example,
- In the Arguments field, enter additional options for running the file or task (for example, the
/all
argument). - In the Description field, enter the task description. This field is optional.
- 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.
- In the File path and Working directory fields, enter values in one of the following ways:
- Click Add.
The application running task or command execution task is created. The task runs automatically after it is created.
Example: To run the
|
Users with the Security auditor role cannot create application running tasks or command execution tasks.
Users with the Security officer role do not have access to tasks.