[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 1

atrm Command

Purpose

Remove jobs spooled by the at command.

Syntax

atrm [ -f ] [ -i] [ -a | - ] [ Job ... | User ... ]

Description

The atrm command removes jobs that were created with the at command, but have not executed. If one or more job numbers is specified, the atrm command attempts to remove only those jobs.

If one or more user names is specified, all jobs belonging to those users are removed. This form of invoking the atrm command is useful only if you have root user authority.

Flags

- Removes all jobs belonging to the user invoking the atrm command.
-a Removes all jobs belonging to the user invoking the atrm command. This flag is provided for System V compatibility.
-f Suppresses all information about the jobs being removed.
-i Prompts before a job is removed. Enter y to remove the job.

Examples

To remove job number root.62169200.a from the at command queue, enter:

atrm root.621619200.a

Files

/usr/bin/atrm Contains the atrm program file.
/var/spool/cron/atjobs Specifies the spool area.

Related Information

The at command, atq command.

The cron daemon.

Input and Output Redirection Overview in AIX 5L Version 5.2 System User's Guide: Operating System and Devices describes how the operating system processes input and output.

Shells Overview in AIX 5L Version 5.2 System User's Guide: Operating System and Devices describes what shells are, the different types of shells, and how shells affect the way commands are interpreted.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]