LinuxCommandLibrary

atq

List pending jobs in the at queue

TLDR

List pending jobs

$ atq
copy
List jobs for specific user
$ atq -u [username]
copy
Show queue details
$ atq -q [a]
copy

SYNOPSIS

atq [-q queue] [-u user]

DESCRIPTION

atq lists jobs pending in the at queue. It shows job numbers, execution times, and queue designations for scheduled one-time jobs.
This is equivalent to at -l.

PARAMETERS

-q queue

Show jobs from specific queue (a-z, A-Z)
-u user
Show jobs for specific user (root only)

OUTPUT FORMAT

Each line shows:
- Job number
- Execution date and time
- Queue letter
- Username

CAVEATS

Non-root users can only see their own jobs. Jobs are lost if atd daemon is not running. Past jobs that couldn't run are shown.

HISTORY

atq is part of the at command suite, scheduling deferred command execution in Unix since the 1970s.

SEE ALSO

at(1), atrm(1), atd(8), cron(8)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community