xref: /illumos-gate/usr/src/man/man1/atrm.1 (revision bbf21555)
te
Copyright 1989 AT&T
Copyright (c) 1985 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
Copyright (c) 2007 Sun Microsystems, Inc., All Rights Reserved.
ATRM 1 "Jul 16, 2007"
NAME
atrm - remove jobs spooled by at or batch
SYNOPSIS

atrm [-afi] [ [job #] [user]...]
DESCRIPTION

The atrm utility removes delayed-execution jobs that were created with the at(1) command, but have not yet executed. The list of these jobs and associated job numbers can be displayed by using atq(1).

atrm removes each job-number you specify, and/or all jobs belonging to the user you specify, provided that you own the indicated jobs.

You can only remove jobs belonging to other users if you have solaris.jobs.admin privileges.

OPTIONS

The following options are supported: -a

All. Removes all unexecuted jobs that were created by the current user. If invoked by the privileged user, the entire queue is flushed.

-f

Force. All information regarding the removal of the specified jobs is suppressed.

-i

Interactive. atrm asks if a job should be removed. If the response is affirmative, the job is removed.

FILES
/var/spool/cron/atjobs

Spool area for at jobs

ENVIRONMENT VARIABLES

See environ(7) for descriptions of the following environment variables that affect the execution of atrm: LANG, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES, and NLSPATH.

Affirmative responses are processed using the extended regular expression defined for the yesexpr keyword in the LC_MESSAGES category of the user's locale. The locale specified in the LC_COLLATE category defines the behavior of ranges, equivalence classes, and multi-character collating elements used in the expression defined for yesexpr. The locale specified in LC_CTYPE determines the locale for interpretation of sequences of bytes of text data a characters, the behavior of character classes used in the expression defined for the yesexpr. See locale(7)

SEE ALSO

at (1), atq (1), auths (1), auth_attr (5), attributes (7), environ (7), locale (7), cron (8)