"at","atq","atrm","batch" Command

Learn all about 'at','atq','atrm','batch' command

HOME

'at','atq','atrm','batch' read commands from standard input or a specified file which are to be executed at a later time, using the shell set by the user's environment variable SHELL, the user's login shell, or ultimately /bin/sh. It executes commands at a specified time. Here, user will come to know about 'atq', 'atrm' and 'batch' commands which are aliases of 'at' command.

'at' allows fairly complex time specifications, extending the POSIX.2 standard. It accepts times of the form HH:MM to run a job at a specific time of day (If that time is already past, the next day is assumed). /usr/share/doc/at/timespec contains the exact definition of the time specification.

The superuser may use these commands in any case. For other users, permission to use at is determined by the files /etc/at.allow and /etc/at.deny.

If the file /etc/at.allow exists, only usernames mentioned in it are allowed to use at.

If /etc/at.allow does not exist, /etc/at.deny is checked, every username not mentioned in it is then allowed to use at.

If neither exists, only the superuser is allowed use of at.

An empty /etc/at.deny means that every user is allowed to use these commands, this is the default configuration.

Following command will display help.

root:~# man at