systemctl-cancel: add page (#18152)

* systemctl-cancel: add page

* Update pages/linux/systemctl-cancel.md

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

---------

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
Harshavardhan
2025-09-23 10:02:42 +05:30
committed by GitHub
parent 5b8af53a8d
commit a393e40aa5
+20
View File
@@ -0,0 +1,20 @@
# systemctl cancel
> Cancel one or more pending jobs in the system manager or user manager.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#cancel%20JOB%E2%80%A6>.
- Cancel a job by its numeric ID:
`systemctl cancel {{job_id}}`
- Cancel multiple jobs:
`systemctl cancel {{job_id1 job_id2 ...}}`
- Cancel all pending jobs:
`systemctl cancel`
- Cancel a job in the user service manager:
`systemctl --user cancel {{job_id}}`