System
atq
List queued jobs scheduled with at.
scheduleatqueuejobs
Additional Notes
atq lists pending one-time jobs scheduled with at or batch. It shows job IDs, run times, queues, and owners.
Use it before removing jobs with atrm, or when checking whether a delayed command is still waiting to run.
Syntax
atq
atq -q queue
Parameters
queue: Optional queue letter to filter jobs.options: Queue filtering and help/version flags depending on implementation.
Common Options
-q QUEUE: Show jobs from one queue.-V: Show version information on some systems.
Examples
atq
List all pending jobs for the current user.
atq -q a
List jobs in queue a.
atrm 4
Remove job 4 after finding it with atq.
Practical Notes
- Normal users usually see their own jobs; root can see more.
- If no jobs are pending,
atqmay print nothing. - The
atdservice must be running for queued jobs to execute.