Session and utilities
The atq command
Lists the pending jobs scheduled with at, with their number, date and queue.
Most useful options
-q <cola>Shows only the jobs in that queue, instead of all of them.-o <formato>Changes the format in which each job's date is shown.-VShows the program version.trabajo [...]Filters by job number: lists only the ones you name.Copy-ready examples
$ atqlists your pending jobs: number, date, time, queue and user.$ atq -q ashows only the jobs in queue a.$ atq 12 13checks only jobs 12 and 13, without seeing the rest of the queue.You can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- atq only shows your own jobs, unless you are root: then it lists everybody's jobs.
- A job that already ran stops appearing in the list.
- The number it shows is the at queue number, not the PID of any process.
FAQ
Why can I not see another user's jobs?
Because atq only shows yours, unless you are root. A job that already ran does not appear either.
What does the queue column mean?
It is the letter at used to group the job. Use -q to filter by it and see only that queue.
Can I see one specific job?
Yes: pass its number at the end, for example atq 12. That way you do not have to read the whole list.
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course