# Cancelling jobs

> Cancel your own running or waiting jobs from the job pane, or several at once from the selection bar. Each cancel is confirmed and runs scancel.

Source: https://hiveboard.dev/docs/job-control/cancel-jobs · Section: Job control · HiveBoard 0.1.7 · Updated 2026-10-19

## In short

- With job control on, Cancel job in the job pane stops one of your running or waiting jobs after a confirmation that names it.
- Cancel n of mine… in the selection bar cancels several at once; the confirmation lists exactly which.
- The server checks every job again against the live queue and skips, with a reason, anything finished or not yours.
- A cancel cannot be undone, and Guardian never cancels anything.

With [job control](/docs/job-control/turn-on-job-control) on for a server,
you can cancel your own running or waiting jobs there: one from its job pane,
or several at once from the bar under the job list. Every cancel is confirmed
first, and runs `scancel` on the server. A cancelled job cannot be brought
back; you would have to submit it again.

## Cancel one job

1. Open the job from the list.
2. Press **Cancel job** in the pane's header. It is there only for a running
   or waiting job of yours on a server with job control on. (The page counts
   the jobs of people under **Highlight users** as yours here too; the server
   refuses to cancel them.)
3. The confirmation, **Cancel job 419122?**, says what will happen: "This
   runs scancel 419122 on the server and stops the job immediately. Any
   unwritten progress in the current step is lost."
4. Press **Cancel the job** — or **Keep it**, or <kbd>Esc</kbd>, to leave it
   running.

A message confirms it ("Job 419122 cancelled."), and the list and the pane
are read again.

## Cancel several jobs

1. Tick the jobs in the list. The box in the table's header ticks every job
   in it.
2. The bar at the bottom of the list shows **Cancel n of mine…** once any of
   your servers has job control on.
3. Press it. The confirmation, **Cancel 3 jobs?** for example, lists each job
   by number, name and server. When the jobs span several servers it says
   so: each server is asked separately. It also says how many of the ticked
   jobs will be skipped.
4. Press **Cancel 3 jobs** (with your number).

A message says how many were cancelled and, if some were skipped, why — for
example "not in the queue (already finished?)" after a job's number.

### What the count counts

*n* is the ticked jobs that are still running or waiting, are yours, and are
on a server with job control on. Everything else ticked — finished jobs,
other people's, jobs on read-only servers — is left out of the count and
skipped. When nothing qualifies, the button is greyed out.

The page decides "yours" the way the job list does, so jobs of people you
named under **Highlight users** can appear in the count. The server does not
accept them: it skips any job that is not your login user's.

### What the server checks again

Before cancelling anything, HiveBoard reads the live queue from the server —
not a copy kept from the last refresh — and checks each job against it. A
job is skipped, with its reason, if it is no longer in the queue, if it
belongs to someone else, or if it is no longer running or waiting. If the
queue cannot be read, nothing is cancelled.

At most 50 jobs on one server can be cancelled in one go. A larger selection
is refused whole rather than cut short: "Select at most 50 and repeat —
HiveBoard will not silently cancel part of a selection."

## Guardian never cancels

[Guardian](/docs/guardian/guardian) reports a job that seems stuck but never
cancels it: a slow calculation and a hung one look the same from outside, and
a cancel cannot be undone. Cancelling is always something you do.

## Check yourself

1. You tick five jobs on Ember, which has job control on: three of your running jobs, one of yours that has finished, and one of a colleague you have not highlighted. What does the bar offer?
   - Cancel 3 of mine… ← the answer
   - Cancel 5 of mine…
   - Cancel 4 of mine…
   - Nothing — mixed selections cannot be cancelled
   Why: The count is only your active jobs on servers with job control; the rest are skipped.

2. Can a cancelled job be resumed from HiveBoard?
   - No — a cancel cannot be undone; you would submit the job again ← the answer
   - Yes, from the Activity list
   - Yes, Guardian resubmits it
   - Yes, within ten minutes
   Why: scancel stops the job on the cluster; HiveBoard does not resubmit a cancelled job, and Guardian never does either.

## Try it in the app

- This cancels a real job. Submit a short throwaway job of your own, open it, press **Cancel job**, read the confirmation, and watch the job leave the queue.

## Related

- [Turning on job control](https://hiveboard.dev/docs/job-control/turn-on-job-control.md)
- [The Jobs page](https://hiveboard.dev/docs/jobs/jobs-page.md)
- [Guardian](https://hiveboard.dev/docs/guardian/guardian.md)
- [What HiveBoard may change on a cluster](https://hiveboard.dev/docs/safety/what-hiveboard-may-change.md)
