atq(1) — Commands
NAME
atq − Prints the queue of jobs waiting to be run
SYNOPSIS
atq [−c | −n] [−q queuename] [user ...]
The atq command prints the queue of jobs waiting to be run at a later date. These jobs were created with the at command.
DESCRIPTION
With no flags, the queue is sorted in the order that the jobs are to be executed.
When a privileged user invokes the atq command without specifying a username, the entire queue is displayed; if a username is specified, only those jobs belonging to the specified user are displayed.
FLAGS
−cSorts the queue by the time that the at command was issued.
−nPrints only the number of files currently in the queue.
−q queuename
Specifies the queue you want to use.
EXAMPLES
In order to look at the queue created by the at command, enter:
atq
If there are jobs in the queue, a message similar to the following is displayed:
root.62169200.aTue Sep 12 11:00:00 1990
The .a extension specifies an at job.
FILES
/var/adm/cronMain cron directory.
/var/adm/cron/at.allowList of allowed users.
/var/adm/cron/at.denyList of denied users.
/var/spool/cron/atjobsSpool area.