[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.2

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