ATQ Linux Command
What is Linux atq Command?
atq COMMAND:The atq command displays all the "at" command jobs that are scheduled or currently running. The "atq" command is equivalent to "at -l" command. If the user is the superuser the command lists jobs for all users. The format of the output lines is: Job number, date, hour, job class. The first number shown is the Job number, followed by the time in which the process is to be executed, and the user name.
at [-V] [-q x] [-f file] [-mMlbv] timespec ...
at [-V] [-q x] [-f file] [-mMlbv] -t time
at -c job ...
atq [-V] [-q x]
at [ -rd ] job ...
atrm [-V] job ...
||prints the version number to standard error. |
||uses the specified queue. A queue designation consists of a single letter; valid queue designations range from a to z. and A to Z. The a queue is the default for at and the b queue for batch. Queues with higher letters run with increased niceness. The special queue "=" is reserved for jobs which are currently running.
||Send mail to the user when the job has completed even if there was no output.
||Reads the job from file rather than standard input.
||Is an alias for atq.
||Is an alias for atrm.
||Shows the time the job will be executed.
- To view all the scheduled at jobs using atq:
atqThe above atq command will list all the pending at jobs.
3 Thu Jan 14 22:30:00 2016 a root
2 Thu Jan 14 10:30:00 2016 a root
1 Tue Jan 12 21:30:00 2016 a root
The first number shown is the Job number, followed by the time in which the process is to be executed, and the user name.