2 .\" Copyright 1989 AT&T
3 .\" Copyright (c) 1985 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
4 .\" Copyright (c) 2007 Sun Microsystems, Inc., All Rights Reserved.
5 .TH ATRM 1 "Jul 16, 2007"
7 atrm \- remove jobs spooled by at or batch
11 \fBatrm\fR [\fB-afi\fR] [ [\fIjob\fR \fI#\fR] [\fIuser\fR]...]
17 The \fBatrm\fR utility removes delayed-execution jobs that were created with
18 the \fBat\fR(1) command, but have not yet executed. The list of these jobs and
19 associated job numbers can be displayed by using \fBatq\fR(1).
22 \fBatrm\fR removes each job-number you specify, and/or all jobs belonging to
23 the user you specify, provided that you own the indicated jobs.
26 You can only remove jobs belonging to other users if you have
27 \fBsolaris.jobs.admin\fR privileges.
31 The following options are supported:
38 All. Removes all unexecuted jobs that were created by the current user. If
39 invoked by the privileged user, the entire queue is flushed.
48 Force. All information regarding the removal of the specified jobs is
58 Interactive. \fBatrm\fR asks if a job should be removed. If the response is
59 affirmative, the job is removed.
66 \fB\fB/var/spool/cron/atjobs\fR\fR
69 Spool area for \fBat\fR jobs
72 .SH ENVIRONMENT VARIABLES
75 See \fBenviron\fR(5) for descriptions of the following environment variables
76 that affect the execution of \fBatrm\fR: \fBLANG\fR, \fBLC_ALL\fR,
77 \fBLC_COLLATE\fR, \fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, and \fBNLSPATH\fR.
80 Affirmative responses are processed using the extended regular expression
81 defined for the \fByesexpr\fR keyword in the \fBLC_MESSAGES\fR category of the
82 user's locale. The locale specified in the \fBLC_COLLATE\fR category defines
83 the behavior of ranges, equivalence classes, and multi-character collating
84 elements used in the expression defined for \fByesexpr\fR. The locale specified
85 in \fBLC_CTYPE\fR determines the locale for interpretation of sequences of
86 bytes of text data a characters, the behavior of character classes used in the
87 expression defined for the \fByesexpr\fR. See \fBlocale\fR(5)
91 \fBat\fR(1), \fBatq\fR(1), \fBauths\fR(1), \fBcron\fR(8), \fBauth_attr\fR(4),
92 \fBattributes\fR(5), \fBenviron\fR(5), \fBlocale\fR(5)