Cancelling stuck running jobs

Hi, Does anybody know of a quick way to cancel a huge amount of stuck running jobs? And also, is there any way to alert us if the number of stuck running jobs exceed a certain count or something similar?

I do have a script currently running thats using the API to cancel jobs but it's taking ages to cancel the huge volume of stuck jobs.

(To explain: we have about 10 workflows that are configured to ingest data into a central IDR log\data source. I've just discovered that a few of these haven't been running for a couple of months and they launch each minute. This wasn't noticed because some of the workflows are running, so the alerts in IDR for dormant event sources didn't trigger)

Nope, I would suggest to contact Customer Service and set up an hourly API call to check cancelled and failed jobs.