The stoptask command stops a running task.
Syntax
stoptask {/taskid task-ID [/user username | /user username /passwordfile passwordfile] [/authmode local | external] | /help}
Note: You are prompted to enter the password in interactive mode if you do not specify the passwordfile option.
Options
| Option | Description |
|---|---|
| /taskid | The task ID. You can confirm the task ID from the Task Details window, output of submittask command, output of listtasks command. |
| /user | The user ID. |
| /passwordfile | The absolute or relative path of the password file. |
| /authmode | Specifies the authentication type, either local or external. Specify local to authenticate locally with Automator. Specify external to authenticate with Common Services. If this option is not specified, Ops Center Automator operates in the authentication mode specified by the command.auth.mode of command_user.properties. |