LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

atrm

Remove jobs from the at queue

TLDR

Remove scheduled job
$ atrm [job_number]
copy
Remove multiple jobs
$ atrm [1] [2] [3]
copy

SYNOPSIS

atrm job [job...]

DESCRIPTION

atrm removes jobs from the at queue. Jobs are identified by their job numbers as shown by atq.Users can only remove their own jobs; root can remove any job.

PARAMETERS

job

Job number(s) to remove

INSTALL

sudo apt install at
copy
sudo dnf install at
copy
sudo pacman -S at
copy
sudo apk add at
copy
sudo zypper install at
copy
nix profile install nixpkgs#at
copy

CAVEATS

Cannot remove already-running jobs. Job numbers can be found with atq. Removal is immediate and cannot be undone.

HISTORY

atrm is part of the at command suite for one-time job scheduling, available in Unix systems since the early 1980s.

SEE ALSO

at(1), atq(1), batch(1)

Copied to clipboard
Kai