Use the canceljob
command to cancel a pending or running job. You can display these jobs by specifying the --pending
or --active
options on the lsjob command.
Canceling a job aborts the job if it is running, then marks its job record as "canceled." Oracle Secure Backup considers canceled jobs as no longer eligible to be run. If you cancel a job that has subordinates, then each of its subordinate jobs is also canceled.
See Also:
"Job Commands" for related commandsIf you are attempting to cancel another user's jobs, then you must have the right to modify any job, regardless of its owner. If you are attempting to cancel your own jobs, then you must have the right to modify any jobs owned by user.
cancel•job [ --quiet/-q | --verbose/-v ] job-id ...
Suppresses output.
Displays verbose output.
Specifies the job identifier of the job to be canceled. You can display job identifiers with the lsjob command.
Example 2-8 displays a pending job and then cancels it.