> For the complete CircleCI developer hub index, see [llms.txt](https://circleci.com/developer/llms.txt)

# fernfernfern/stopthatjob

You're on performance plan. Your jobs usually run in 10 minutes.  OH MY GOODNESS HOW DID THAT JOB RUN FOR 4 HOURS? HOW MANY MANY CREDITS DID WE WASTE?  This orb will stop that job before it burns your credits.
You must Include a user API key as a project environment variable named `STOP_THAT_JOB_ORB_TOKEN` first


## Commands

### in

Max duration for the job in minutes


| Parameter | Type | Default | Description |
|---|---|---|---|
| `minutes` | integer | 60 | Job max duration in minutes
 |

## Examples

### stopthatjob-in

Stop the job if it runs longer than 20 minutes. Always run stop that job as the first step


```yaml
executors:
  python:
    docker:
      - image: circleci/python
jobs:
  build:
    executor: python
    steps:
      - stopthatjob/in:
          minutes: 20
      - checkout
orbs:
  stopthatjob: fernfernfern/stopthatjob@1.0.0
version: 2.1
```