I need a hammer (CLI) command that will cancel jobs

Solution Verified - Updated -

Issue

Currently we are only able to cancel a job via the UI. Would like the ability to cancel the job via CLI such as: # hammer job-invocation cancel id=job_id

Steps to complete in WebUI:
1. Navigate to Monitor -> Jobs
2. Choose scheduled Job in question
3. Select "Cancel Job"

Potential/Preferred Alternative:
# hammer job-invocation cancel id=job_id

Current status:
Hammer does not currently have this functionality.

Environment

Red Hat Satellite Server 6.2.x
Red Hat Satellite Server 6.3.x
Red Hat Satellite Server 6.4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content