[0m


AT(1)		    UNIX Programmer's Manual		    AT(1)



[1mNAME
     [0mat, batch - execute commands at a later time

[1mSYNOPSIS
     at time [ date [0m] [ [1m+ increment [0m]
     [1mat -l [ job ... ]
     at -r job ...
     batch

DESCRIPTION
     at [0mand [1mbatch [0mread commands from standard input to be exe-
     cuted at a later time.  [1mat [0mis a convenient way of having
     commands executed at a specified time, while [1mbatch [0mwill exe-
     cute commands when system load level permits.

     Users are allowed to use [1mat [0mand [1mbatch [0mif their names appear
     in the file [1m/var/spool/cron/at.allow. [0mIf that file does not
     exist, the file [1m/var/spool/cron/at.deny [0mis checked to see if
     the user is to be denied access to either command.  If nei-
     ther file exists, only root has access. If only at.deny
     exists, and it is empty, all users have access.  The
     [1mat.allow [0mand [1mat.deny [0mfiles consist of one user name per
     line.

     In the first form of the [1mat [0mcommand, the time may be speci-
     fied as 1, 2 or 4 digits, i.e. if 'h' represents an hour
     digit and 'm' a minute digit, the following are all valid: h
     hh hhmm
     Alternately, the time may be specified as two numbers
     separated by a colon, meaning [1mhour:minute. [0mThe 24-hour clock
     is assumed, unless the suffix [1mam [0mor [1mpm [0mis appended.  Other
     valid suffices are: [1mnoon, midnight, now, next [0mand [1mzulu. [0mThe
     last one indicates GMT.

     The optional [1mdate [0mis either:
     (1) a month name (first 3 characters or full name) followed
     by a day number (optionally followed by a comma and a year
     number).
     (2) a day of the week (first 3 characters or full name).
     (3) a `special' name: [1mtoday [0mor [1mtomorrow.
     [0mIf the date is not specified, and the specified hour has not
     yet passed, [1mtoday [0mis assumed, otherwise [1mtomorrow.

     [0mThe optional [1mincrement [0mis a number suffixed by one of the
     following: [1mminute[s], hour[s], day[s], week[s], month[s], [0mor
     [1myear[s].

     [0mExamples of legitimate commands are

	  at 4pm jun 12
	  at 17:05 tomorrow
	  at now + 1 week



Printed 4/12/91     Revision 1.6 of 17/09/90			1






AT(1)		    UNIX Programmer's Manual		    AT(1)



     If standard output and standard error are not redirected,
     any generated output or errors will be mailed to the user.
     Commands will be executed by /usr/bin/sh.	The environment
     variables, current directory, umask and ulimit are retained
     when the commands are executed. Open files, traps and prior-
     ity are lost.

[1mAT OPTIONS
     -l   [0mlist jobs

     [1m-r   [0mremove jobs previously scheduled by at or batch.  The
	  job number is the number reported when the job was
	  queued (also shown by -l option). Only root can remove
	  a job queued by another user.

[1mFILES
     [0m/var/spool/cron/atjobs    where user atjob files are stored
     /var/spool/cron/at.allow  list of allowed users
     /var/spool/cron/at.deny   list of denied users

[1mSEE ALSO
     [0mcrontab(1), sh(1), umask(2), cron(8)

[1mDIAGNOSTICS
     [0mComplains about various syntax errors and times out of
     range.





























Printed 4/12/91     Revision 1.6 of 17/09/90			2



[0m