List the current user's pending at jobs without changing them.
Which command is appropriate?
atq lists pending at jobs with their IDs and scheduled times. It is separate from the cron queue.
Detailed explanation
atIncorrect. at registers a new one-time job.
Incorrect. at registers a new one-time job.
atrmIncorrect. atrm deletes a selected job.
Incorrect. atrm deletes a selected job.
atqCorrect. atq lists pending jobs.
Correct. atq lists pending jobs.
crontab -lIncorrect. crontab -l lists recurring cron entries.
Incorrect. crontab -l lists recurring cron entries.
Try it yourself
An example you can run in a temporary verification environment.
atq --help 2>&1 | sed -n '1,8p'Expected result
atqの使用方法Key points
- atq lists the queue
- atrm deletes
- Separate from cron
Notes
- Environment: atq help / キュー変更なし
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.