[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 1


atq Command

Purpose

Displays the queue of jobs waiting to be run.

Syntax

atq [ c | -n ] [ User ... ]

Description

The atq command displays the current user's queue of jobs that are waiting to be run at a later date, sorted in the order the jobs will be run. These jobs were created with the at command. If the user is root and User name is specified, the atq command displays only jobs belonging to that user.

Flags


-c Sorts the queue by the time that the at command was issued.
-n Displays only the number of jobs currently in the queue.

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 appears:

root.635623200.a         Wed     Feb 21  12:00:00 1990
root.635670000.a         Thu     Feb 22  01:00:00 1990

Files


/usr/bin/atq Contains the atq program.
/var/spool/cron/atjobs Specifies the spool area.

Related Information

The at command, atrm command.

The cron daemon.

Input and Output Redirection Overview in AIX 5L Version 5.1 System User's Guide: Operating System and Devices describes how the operating system processes input and output.

Shells Overview in AIX 5L Version 5.1 System User's Guide: Operating System and Devices describes what shells are, the different types of shells, and how shells affect the way commands are interpreted.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]