a
at(1) | at(1) |
LC_MESSAGES also determines the language in which the words days, hours, midnight, minutes, months, next, noon, now, today, tomorrow, weeks, years, and their singular forms can also be speci®ed.
IF LC_TIME or LC_MESSAGES is not speci®ed in the environment or is set to the empty string, the value of LANG is used as a default for each unspeci®ed or empty variable. If LANG is not speci®ed or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG.
If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)).
International Code Set Support
Single- and
RETURN VALUE
The exit code is set to one of the following:
0Successful completion
1Failure
DIAGNOSTICS
at produces
warning: commands will be executed using /usr/bin/sh
If your login shell is not the POSIX shell (/usr/bin/sh ), at and batch produce a warning message as a reminder that at and batch jobs are executed using /usr/bin/sh .
EXAMPLES
The following commands show three different ways to run a POSIX shell script ®le named
at | now + 5 minutes | |
cat | at now + 5 minutes | |
at | now + 5 minutes |
Run a typical
batch
nroff
eof (the default is
Run a job contained in future in the home directory at 12:20 a.m. on December 27, 2013:
at
Redirect standard error to a pipe (useful in a shell procedure). Note that the sequence of the output redirection speci®cations is signi®cant. Standard error is redirected to where standard output is going; standard output is redirected to a ®le; the original "standard output" (which now consists of the former standard error) is piped to the mail program.
batch <<!! (sets eof temporarily to !!)
nroff
!!
Run a job contained in jobfile in the home directory at 5:00 a.m. next Tuesday:
at
Run the same job at 5:00 a.m. one week from next Tuesday (i.e., 2 Tuesdays in advance):
at
Add a command to the ®le named
echo "sh
The following commands show several forms recognized by at and include native language usage:
Section 1−30 | − 4 − |