Displays the queue of jobs waiting to be run.
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.
-c | Sorts the queue by the time that the at command was issued. |
-n | Displays only the number of jobs currently in the queue. |
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
/usr/bin/atq | Contains the atq program. |
/var/spool/cron/atjobs | Specifies the spool area. |
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.