Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
atq(1) OSS Shell and Utilities Reference Manual
NAME
atq - Prints the queue of jobs waiting to be run
SYNOPSIS
atq [-c | -n][-q queuename][user ...]
FLAGS
-c Sorts the queue by the time that the at command was issued.
-n Prints only the number of files currently in the queue.
-q queuename
Specifies the queue you want to use.
DESCRIPTION
The atq command prints the queue of jobs waiting to be run at a later date. These jobs were
created with the at command.
If no flags are specified in the atq command, the queue is sorted in the order that the jobs will be
executed. If the user has appropriate privileges and one or more user names are provided, only
jobs belonging to those users are displayed. If no user names are provided, then a list of all jobs
submitted is displayed.
If flags are specified, the list of jobs belonging to the user who invoked the atq command is
displayed.
Environment Variables
This command supports the use of the LANG, LC_ALL, LC_CTYPE, LC_MESSAGES, and
NLSPATH environment variables.
EXAMPLES
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 for each job:
super.super.62169200.a Tue Sep 12 11:00:00 1990
The .a extension specifies an at job.
FILES
/var/adm/cron Main cron directory.
/usr/lib/cron/at.allow List of allowed users.
/usr/lib/cron/at.deny List of denied users.
/var/spool/cron/atjobs Queue.
EXIT VALUES
The atq command returns the following values:
0 (zero) The command completed successfully.
>0 An error occurred.
1−18 Hewlett-Packard Company 527188-003