dcrequestaction
Use the dcrequestaction command to run a specified
scheduled task.
Tip: To list all of the Dual Control requests, use the
lsdcrequests command.
Syntax
Parameters
- -help | -h | -?
- Lists help for the command. If you specify additional parameters and arguments, those parameters and arguments are ignored.
- -quiet
- Suppresses the confirmation prompt for this command. This flag answers yes to all confirmation prompts.
- id | -
- Specifies the ID for the Dual Control request that will be approved or rejected.
Example: Approving Dual Control request 2
The following command approves the Dual Control request with an ID of 2, for issuing a Flash command to a session.
dcrequestaction -quiet -action approve 2
The following output is returned:
IWNR1026I [Jan 24, 2019 10:42:15 AM] The Flash command in the
8kFC session completed.
Example: Rejecting Dual Control request 3
The following command rejects the Dual Control request with an ID of 3.
csmcli> dcrequestaction -quiet -action reject 3
The following output is returned:
IWNR2605I [Jan 24, 2019 10:43:02 AM] Dual Control notification request
3 was rejected by user bob with the following reason: rejected from cli.