commands.sh

systemctl cancel

linux

Cancel one or more pending jobs in the system manager or user manager.

More info →

Examples (4)

Cancel a job by its numeric ID

Cancel multiple jobs

systemctl cancel job_id1 job_id2 ...

Cancel all pending jobs

Cancel a job in the user service manager

systemctl cancel job_id --user
made by @shridhargupta | data from tldr-pages