[BACK]Return to atq.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / at

Annotation of src/usr.bin/at/atq.1, Revision 1.6

1.6     ! millert     1: .\"    $OpenBSD: atq.1,v 1.5 2007/05/31 19:20:07 jmc 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.6     ! millert    32: .Dd $Mdocdate: May 31 2007 $
1.1       millert    33: .Dt ATQ 1
                     34: .Os
                     35: .Sh NAME
                     36: .Nm atq
                     37: .Nd display the
                     38: .Xr at 1
                     39: job queue
                     40: .Sh SYNOPSIS
                     41: .Nm atq
                     42: .Op Fl cnv
                     43: .Op Fl q Ar queue
                     44: .Op Ar name ...
                     45: .Sh DESCRIPTION
                     46: .Nm atq
                     47: displays the queue of jobs, created by the
                     48: .Xr at 1
                     49: command, which are currently awaiting execution.
                     50: Unless the user is the superuser, only the user's own jobs will be displayed.
                     51: With no flags, the queue is sorted in the order that
                     52: the jobs will be executed.
                     53: .Pp
                     54: The options are as follows:
                     55: .Bl -tag -width "-q queueX"
                     56: .It Fl c
                     57: Sort the queue by the time that the jobs were submitted (created).
                     58: By default,
                     59: .Nm
                     60: will sort the queue by the time that the jobs will run.
                     61: .It Fl n
                     62: Only print the total number of files that are currently in the queue.
                     63: .It Fl q Ar queue
                     64: Restrict output to jobs in the specified
                     65: .Ar queue .
1.6     ! millert    66: A queue designation consists of a single letter.
        !            67: Valid queue designations range from
1.1       millert    68: .Sy a
                     69: to
                     70: .Sy z
                     71: and
                     72: .Sy A
                     73: to
                     74: .Sy Z .
                     75: The
                     76: .Sy c
                     77: queue is the default for
                     78: .Xr at 1
                     79: and the
                     80: .Sy E
                     81: queue for
                     82: .Xr batch 1 .
                     83: By default,
                     84: .Nm
                     85: will display jobs in all queues.
                     86: .It Fl v
                     87: Jobs that have completed but have not yet been removed are also displayed.
                     88: .El
                     89: .Pp
                     90: If a name(s) is provided, only those files belonging to that user(s) are
                     91: displayed.
                     92: .Sh FILES
1.2       millert    93: .Bl -tag -width /var/cron/atjobs -compact
                     94: .It Pa /var/cron/atjobs
1.1       millert    95: directory containing job files
                     96: .El
                     97: .Sh SEE ALSO
                     98: .Xr at 1 ,
                     99: .Xr atrm 1 ,
                    100: .Xr cron 8
                    101: .Sh HISTORY
                    102: The
                    103: .Nm
1.4       jmc       104: command appeared in
1.1       millert   105: .Bx 4.3 .