At
At the specified time to execute the command.
-V outputs the version number on a standard error.
The-Q queue uses the specified queues. A queue is calibrated with a letter, and valid queues are calibrated from A to Z and from A to Z. The default queue for at is the A,batch default queue is B. The higher the alphabetical order of the queues, the more humility the queue runs (the lower the run level). The specified queue "=" is reserved for the queue where the currently running job is located. If a job is submitted to a queue that is marked with an uppercase letter, it is treated as if it were submitted to batch. If you specify a queue for ATQ, only the jobs in this specified queue are displayed.
-M sends a message to the user even if there is no output when the job completes.
-F file reads the job information from the file instead of the standard input.
-L equals to ATQ.
-D is equivalent to ATRM.
-V for ATQ, displays the complete job that has not been deleted in the queue, and for other commands, displays the time that the job will be executed. The time displayed is similar to the format "1997-02-20 14:50", but if the POSIXLY_CORRECT environment variable is set, the format is similar to "Thu Feb 20 14:50:00 1996".
-C connects the jobs listed in the command line and outputs to standard output.
Cases:
After 10 points, output 1111
The code is as follows:
[Zhangy@blackghost ~]$ at now + minutes
at> Echo 1111
At>
Job 3 at Fri APR 26 12:56:00 2013
Timed list at
The code is as follows:
[Zhangy@blackghost ~]$ At-l
3 Fri Apr 12:56:00 2013 a root
View the contents of a single at task
The code is as follows:
[Zhangy@blackghost ~]$ at-c 3
#!/bin/sh
# Atrun Uid=0 gid=0
# Mail Tnak 0
Umask 22
......... Omitted........
echo 1111
Delete at task
The code is as follows:
[Zhangy@blackghost ~]$ at-d 3
Atq
Cases:
View at task
The code is as follows:
[Zhangy@blackghost ~]$ at now + minutes
at> Echo 1111
At>
Job 3 at Fri APR 26 12:56:00 2013
The code is as follows:
[Zhangy@blackghost ~]$ ATQ
3 Fri Apr 12:56:00 2013 a root