# clear-jobs command

The clear-jobs command selects items
with the status logoff or completed, and deletes them from the dm,jobs, file.

## Syntax

```
clear-jobs
```

## Parameter(s)

| options | a | Removes all non-running jobs, including error and aborted jobs. |
| --- | --- | --- |

## See also

- [job-status command](https://d3codex.com/tcl/job-status-command/)
- [jobs file](https://d3codex.com/systemfiles/jobs-file/)
- [list-jobs macro](https://d3codex.com/tcl/list-jobs-macro/)
- [phantom-reset command](https://d3codex.com/tcl/phantom-reset-command/)
- [phantom-status command](https://d3codex.com/tcl/phantom-status-command/)

---
Source: https://d3codex.com/tcl/clear-jobs-command/ - part of the D3Codex reference.
