atq
process managementlinux
The atq command is one of the most frequently used commands in Linux/Unix-like operating systems. atq The atq command lists the pending jobs for the at command scheduler. It displays the job number, date, hour, queue, and username for each scheduled task.
Quick Reference
Command Name:
atq
Category:
process management
Platform:
linux
Basic Usage:
atq [options] [arguments]
Common Use Cases
Syntax
atq [-V] [-q queue] [-v]
Options
Option | Description |
---|---|
-V | Display version information |
-q queue | Show only jobs in the specified queue |
-v | Show the time the job will be executed in a more verbose format |
-u user | Show only jobs of the specified user (only available for privileged users) |
Examples
How to Use These Examples
The examples below show common ways to use the atq
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
#
# List jobs in a specific queue
atq -q aBasic Examples:
# List all pending at jobs atq
Advanced Examples:
# Filter jobs by username (requires root privileges) sudo atq -u username