> From the BotGhost docs: https://botghost.com/docs/custom-commands-and-events/actions/other-actions/cancel-a-later-job
> Every page: https://botghost.com/docs/llms.txt

# Cancel a Later Job

Stop a job that is still waiting to run later.

Stops jobs waiting to run later: a **Wait** set to continue later, **Do This Later**, or an **undo after a set time**. Use it for things like a /cancel-reminder command.

![The Cancel a Later Job settings, with the Job ID, the later_cancelled variable and the variable name marked](https://botghost.com/docs/content/assets/workspace/block-cancel-later.png)

- **A** **Job ID**: the one you gave the waiting block. Variables work, so `reminder-{user_id}` cancels only that member's reminder.
- **B** `{later_cancelled}`: how many jobs it stopped, `0` when none were waiting. Check it with an [If / Else](https://botghost.com/docs/custom-commands-and-events/conditions/comparison-condition) block to reply "You had no reminder to cancel".
- **C** **Variable name**: optional. Name it when two of these blocks are in one command.

It only cancels jobs this bot started in this server. Anything that already ran is not undone.
