Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
at(1) OSS Shell and Utilities Reference Manual
date You can specify the date operand as either a month name and a day number (and
possibly a year number preceded by a comma), or a day of the week.
The LC_TIME environment variable specifies the order of the month name and
day number (by default, month followed by day). at recognizes two special
days, today and tomorrow, by default. today is the default date if the specified
time is later than the current hour; tomorrow is the default date if the specified
time is earlier than the current hour.
If the specified month is less than the current month (and a year is not given),
next year is the default year.
+increment The optional increment operand can be one of the following:
• A + (plus sign) followed by a number and one of the following words:
minute[s], hour[s], day[s], week[s], month[s], or year[s] (or their
nonEnglish equivalents).
• The special word next followed by one of the following words:
minute[s], hour[s], day[s], week[s], month[s],oryear[s] (or their
nonEnglish equivalents).
job_number Job numbers are specified as follows:
user.xxxxxxxxx.y
user Identifies the user who scheduled the job.
xxxxxxxxx Is a 9-digit number indicating the encoded time for the job.
y Indicates the job type or queue name as follows:
aatjob
b batch job
e ksh job
Environment Variables
This command supports the use of the LANG, LC_ALL, LC_CTYPE, LC_MESSAGES,
LC_TIME, and NLSPATH environment variables.
EXAMPLES
1. To schedule a command from a terminal, enter a command similar to one of the follow-
ing:
at 5 pm Friday runme
at now next week runme
at now + 2 days runme
Note that the preceding commands can be scheduled as shown only if runme is in the
current directory.
2. To run cal at 3:00 in the afternoon on January 24, enter any one of the following com-
mands:
echo cal | at 3:00 pm January 24
echo cal | at 3pm Jan 24
echo cal | at 1500 jan 24
1−16 Hewlett-Packard Company 527188-007