Overview
The command line syntax for each execution of the CLI command, uagcmd, must specify a single CLI function, required / optional Global parameters, and required / optional function-specific parameters. You must use the required Global parameters to connect to OMS Servers and to log on to a Controller (User ID and Password).
Universal Controller supports the following CLI functions for Triggers, which are listed alphabetically on this page.
- Disable a Trigger
- Enable a Trigger
- Launch Trigger Tasks Now
- List Triggers Status
- Modify Time of a Time Trigger
Syntax, parameters, and examples for each function are provided.
See Import and Export Functions for these trigger-related functions:
Disable a Trigger
Description |
Disables the specified trigger(s). |
---|---|
Syntax |
Note For backward-compatibility, you can exclude |
Parameters |
|
Example |
uagcmd ops-trigger-disable -c config.cfg trigger-name=Trigger A |
Enable a Trigger
Description |
Enables the specified trigger(s). |
---|---|
Syntax |
Note For backward-compatibility, you can exclude |
Parameters |
|
Example |
uagcmd ops-trigger-enable -c config.cfg trigger-name=Trigger A |
Launch Trigger Tasks Now
Description |
Marks all conditions as satisfied in the specified trigger(s) and launches its associated tasks. |
---|---|
Syntax |
Note For backward-compatibility, you can exclude |
Parameters |
|
Example |
All variable=value pairs must be specified within one set of braces: uagcmd ops-trigger-now -c config.cfg trigger-name=Trigger A trigger-variables={variable1=first value variable2=second value} |
List Triggers Status
Description |
Lists the status of the specified trigger(s). Possible statuses are Enabled or Disabled. |
---|---|
Syntax |
|
Parameters |
|
Example |
uagcmd ops-trigger-status -c config.cfg trigger-name=Trigger A status=disabled |
Modify Time of a Time Trigger
Description |
Modifies the Time field of a Time Trigger with the Time Style field set to time. |
---|---|
Syntax |
Note For backward-compatibility, you can exclude |
Parameters |
|
Example |
uagcmd ops-trigger-set-time -c config.cfg trigger-name=Trigger A time=15:00 |