AT.1
上传用户:jnzhq888
上传日期:2007-01-18
资源大小:51694k
文件大小:1k
- .TH AT 1
- .SH NAME
- at, atrun - execute commands at a later time
- .SH SYNOPSIS
- fBat fItimefR [fImonth dayfR] [fIfilefR]fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH EXAMPLES
- .EX "at 2315 Jan 31 myfile" "Myfile executed Jan 31 at 11:15 pm"
- .EX "at 0900" "Job input read from fIstdinfR"
- .EX "at 0711 4 29 " "Read from fIstdinfR, exec on April 29"
- .SH DESCRIPTION
- .PP
- fIAtfR prepares a file to be executed later at the specified time by
- creating a special entry in fI/usr/spool/atfR.
- The program fIatrunfR should be started
- periodically, for example, every minute by fIcronfR. fIAtrunfR
- checks to see if any
- files in fI/usr/spool/atfR should now be run, and if so, it runs them
- and then puts them in fI/usr/spool/at/pastfR.
- The name of the file created in fI/usr/spool/atfR by
- fIatfR is YY.DDD.HHMM.UU (where YY, DDD, HH, and MM give the time to execute and
- UU is a unique number). Note that when the command runs, it will not be able
- to use fIstdinfR or fIstdoutfR unless specifically redirected. In
- the first example above, it might be necessary to put fI>/dev/logfR
- on some lines in the shell script fImyfilefR.
- The same holds for the commands typed directly to fIatfR.
- .SH "SEE ALSO"
- .BR cron (8).