atq
List pending jobs in the at queue
TLDR
List pending jobs
$ atq
List jobs in a specific queuecopy
$ atq -q [a]
Custom time format for listed jobscopy
$ atq -o [%Y-%m-%d %H:%M]
copy
SYNOPSIS
atq [-V] [-q queue] [-o fmt]
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 only jobs in the specified queue. A queue designation consists of a single letter (a-z or A-Z). The default queue for at jobs is a and for batch jobs is b.-o fmt
Use the specified strftime-style format for the date and time shown in the listing.-V
Print the version number to standard error and exit.
OUTPUT FORMAT
Each line shows the job number, the scheduled execution date and time, the queue letter, and the owning username.
CAVEATS
Non-root users can only see their own jobs; the superuser sees everyone's jobs. Jobs do not run while the atd daemon is not running, and past jobs that could not run are still listed until removed.
HISTORY
atq is part of the at command suite, scheduling deferred command execution in Unix since the 1970s.