Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)

atrm(1) OSS Shell and Utilities Reference Manual
NAME
atrm - Removes jobs queued by the at command
SYNOPSIS
atrm [-f | -i] -a [|job_number ... | user ... ]
FLAGS
-a Removes all jobs belonging to the user invoking atrm. If this flag is specified by a
user with appropriate privileges, all jobs on the queue are removed.
-f Suppresses the printing of information about the jobs being removed.
-i Prompts the user before a job is removed; a response of y, or the locale’s equivalent of
y, causes the job to be removed.
DESCRIPTION
The atrm command removes jobs that were put in a queue by the at command. If one or more
job numbers are specified, atrm attempts to remove only those jobs.
If one or more user names are specified, all jobs belonging to those users are removed. This form
of invoking atrm is can be used only if you have appropriate privileges.
Environment Variables
This command supports the use of the LANG, LC_ALL, LC_CTYPE, LC_MESSAGES, and
NLSPATH environment variables.
EXAMPLES
To remove job number super.super.62169200.a, created by user super.super, from the queue
created by the at command, enter:
atrm super.super.62169200.a
Note that .a specifies an at job for sh. (The .e extension specifies an at job for ksh.)
FILES
/var/adm/cron Main cron directory.
/usr/lib/cron/at.allow List of allowed users.
/usr/lib/cron/at.deny List of denied users.
/var/spool/cron/atjobs Queue.
EXIT VALUES
The atrm command returns the following values:
0 (zero) The command completed successfully.
>0 An error occurred.
RELATED INFORMATION
Commands: at(1), atq(1), batch(1), cron(8).
STANDARDS CONFORMANCE
This command is an extension to the XPG4 Version 2 specification.
120 Hewlett-Packard Company 527188-021