man pages section 1: User Commands
  Search only this book
Download this book in PDF (7229 KB)

atrm(1)

Name | Synopsis | Description | Options | Files | Environment Variables | Attributes | See Also

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(5) 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(5)

Attributes

    See attributes(5) for descriptions of the following attributes:

    ATTRIBUTE TYPE 

    ATTRIBUTE VALUE 

    Availability 

    SUNWcsu 

See Also

SunOS 5.11  Last Revised 16 Jul 2007

Name | Synopsis | Description | Options | Files | Environment Variables | Attributes | See Also