atrm - remove jobs spooled by at or batch
atrm [-afi] [ [job #] [user]...]
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.
The following options are supported:
All. Removes all unexecuted jobs that were created by the current user. If invoked by the privileged user, the entire queue is flushed.
Force. All information regarding the removal of the specified jobs is suppressed.
Interactive. atrm asks if a job should be removed. If the response is affirmative, the job is removed.
Spool area for at jobs
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 attributes(7) for descriptions of the following attributes: