Annotation of src/usr.bin/at/atq.1, Revision 1.7
1.7 ! schwarze 1: .\" $OpenBSD: atq.1,v 1.6 2011/03/20 22:12:59 millert Exp $
1.1 millert 2: .\"
3: .\" Copyright (c) 1985, 1990, 1993
4: .\" The Regents of the University of California. All rights reserved.
5: .\"
6: .\" Redistribution and use in source and binary forms, with or without
7: .\" modification, are permitted provided that the following conditions
8: .\" are met:
9: .\" 1. Redistributions of source code must retain the above copyright
10: .\" notice, this list of conditions and the following disclaimer.
11: .\" 2. Redistributions in binary form must reproduce the above copyright
12: .\" notice, this list of conditions and the following disclaimer in the
13: .\" documentation and/or other materials provided with the distribution.
1.3 millert 14: .\" 3. Neither the name of the University nor the names of its contributors
1.1 millert 15: .\" may be used to endorse or promote products derived from this software
16: .\" without specific prior written permission.
17: .\"
18: .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21: .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28: .\" SUCH DAMAGE.
29: .\"
30: .\" @(#)atq.1 8.1 (Berkeley) 6/6/93
31: .\"
1.7 ! schwarze 32: .Dd $Mdocdate: March 20 2011 $
1.1 millert 33: .Dt ATQ 1
34: .Os
35: .Sh NAME
36: .Nm atq
1.7 ! schwarze 37: .Nd display the at(1) job queue
1.1 millert 38: .Sh SYNOPSIS
39: .Nm atq
40: .Op Fl cnv
41: .Op Fl q Ar queue
42: .Op Ar name ...
43: .Sh DESCRIPTION
44: .Nm atq
45: displays the queue of jobs, created by the
46: .Xr at 1
47: command, which are currently awaiting execution.
48: Unless the user is the superuser, only the user's own jobs will be displayed.
49: With no flags, the queue is sorted in the order that
50: the jobs will be executed.
51: .Pp
52: The options are as follows:
53: .Bl -tag -width "-q queueX"
54: .It Fl c
55: Sort the queue by the time that the jobs were submitted (created).
56: By default,
57: .Nm
58: will sort the queue by the time that the jobs will run.
59: .It Fl n
60: Only print the total number of files that are currently in the queue.
61: .It Fl q Ar queue
62: Restrict output to jobs in the specified
63: .Ar queue .
1.6 millert 64: A queue designation consists of a single letter.
65: Valid queue designations range from
1.1 millert 66: .Sy a
67: to
68: .Sy z
69: and
70: .Sy A
71: to
72: .Sy Z .
73: The
74: .Sy c
75: queue is the default for
76: .Xr at 1
77: and the
78: .Sy E
79: queue for
80: .Xr batch 1 .
81: By default,
82: .Nm
83: will display jobs in all queues.
84: .It Fl v
85: Jobs that have completed but have not yet been removed are also displayed.
86: .El
87: .Pp
88: If a name(s) is provided, only those files belonging to that user(s) are
89: displayed.
90: .Sh FILES
1.2 millert 91: .Bl -tag -width /var/cron/atjobs -compact
92: .It Pa /var/cron/atjobs
1.1 millert 93: directory containing job files
94: .El
95: .Sh SEE ALSO
96: .Xr at 1 ,
97: .Xr atrm 1 ,
98: .Xr cron 8
99: .Sh HISTORY
100: The
101: .Nm
1.4 jmc 102: command appeared in
1.1 millert 103: .Bx 4.3 .