# Turning on job control

> HiveBoard is read-only until you turn on job control for a server. Then it may cancel, continue and delete your own jobs, each after a confirmation.

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

## In short

- Every server starts read-only: job control is off until you switch it on, one server at a time.
- Turn it on with the Job control switch on the server's General tab in Connections, and confirm.
- It allows cancelling, continuing and deleting files of your own jobs only — your login user on that server — each confirmed.
- Turning it off needs no confirmation and can be done for several servers at once; importing servers never turns it on.

HiveBoard is read-only until you say otherwise. **Job control** is the switch,
one per server, that lets it change things there for you: cancel a job,
continue a VASP run, delete files in a job's folder. It acts only on your own
jobs, and asks you to confirm every action. It is off for every server until
you turn it on.

## What it allows

| Action | Where you start it | On the server |
|---|---|---|
| [Cancel a job](/docs/job-control/cancel-jobs) | Job pane, selection bar | `scancel` |
| [Continue a run](/docs/job-control/continue-a-run) | Job pane | backup, copy, `sbatch` |
| [Delete files](/docs/job-control/delete-files) | Files tab | `rm -rf` |

It also lets [Guardian](/docs/guardian/guardian)'s second mode continue
unconverged VASP relaxations on that server. With job control off, none of
these buttons is offered, and the server refuses such a request anyway: "Job
control is switched off for this server, so HiveBoard can only watch it."

## Turning it on

1. Open **Connections** and choose the server in the list on the left (or
   click its chip in the top bar).
2. Open the **General** tab.
3. In the **Job control** card, click the switch.
4. Read the confirmation, **Enable job control on Ember?**, and press
   **Enable job control** — or **Keep it** to leave the server read-only.

The switch takes effect at once; it is not part of the save bar. A message
says "Job control enabled on Ember", and the server's Overview tab lists it
under Setup as "On — your own jobs, each confirmed".

### When adding a server

The last step of **Add a server** has a box, **Allow job control — cancel,
continue and delete my own jobs (each confirmed)**. It is unticked to begin
with.

### In config.yaml

The switch writes one key on the server's entry
(see [The config.yaml file](/docs/settings/config-file)):

```yaml
  - name: ember
    allow_job_control: true
```

Leaving the key out is the same as `false`.

## "Your own" means your login user

Every action is checked by HiveBoard's own server before anything is changed
on the cluster:

- The job's owner, as the scheduler records it, is compared with your login
  user on that server — the answer to `whoami`. Anyone else's job is refused:
  the refusal names its owner and says "HiveBoard only controls your own
  jobs."
- **Highlight users** never widens this. As the General tab says, "It never
  widens what HiveBoard may cancel or delete."
- If your login user cannot be confirmed, every action is refused: "Could
  not verify your username on the cluster — refusing write actions."
- A folder opened from the [Folders page](/docs/folders/browse-folders) is
  never acted on: it has no job.

## Turning it off

- **One server**: click the same switch. There is no confirmation; a message
  says the server "is read-only again".
- **Several servers**: select them in Connections (tick rows in **All
  servers**, or <kbd>Ctrl</kbd>-click in the list), then in the **Job
  control** card press **Turn off on** *n*, where *n* is how many of them
  have it on. Job control is only ever turned *on* one
  server at a time, each with its own confirmation.

## What never turns it on

- **Importing servers** from a file: job control never comes back from a
  file, whatever it was on the computer that exported it.
- **Add several at once**: servers added together from `~/.ssh/config`
  start with job control off.

## Check yourself

1. You name a colleague under Highlight users and job control is on. Can HiveBoard cancel their jobs?
   - No — only jobs owned by your own login user on that server ← the answer
   - Yes, highlighted users count as yours
   - Yes, after a second confirmation
   - Only their waiting jobs
   Why: The server compares each job's owner with your login user (whoami); Highlight users is a display setting and never widens what may be changed.

2. You import a file of servers exported from a computer where job control was on. Is it on here?
   - No — an import never turns job control on ← the answer
   - Yes, the setting travels in the file
   - Only for servers with a key
   - It asks during the import
   Why: Import adds servers with job control off; you switch it on per server, with its own confirmation.

## Try it in the app

- Open Connections, choose one of your servers, and read the **Job control** card on its **General** tab. Turn it on only if you mean to cancel or continue jobs from HiveBoard.

## Related

- [Cancelling jobs](https://hiveboard.dev/docs/job-control/cancel-jobs.md)
- [Continuing a VASP run](https://hiveboard.dev/docs/job-control/continue-a-run.md)
- [Deleting files from a job's folder](https://hiveboard.dev/docs/job-control/delete-files.md)
- [What HiveBoard may change on a cluster](https://hiveboard.dev/docs/safety/what-hiveboard-may-change.md)
- [A server's page and its tabs](https://hiveboard.dev/docs/connections/server-tabs.md)
