⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 at.1

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 1
字号:
.\" SCCSID: @(#)at.1	8.2	3/28/91.TH at 1.SH Nameat, batch \- execute commands at a later time.SH Syntax.B at\fItime\fR [\|\fIday\fR\|] [\|\fIfile\fR\|].br.B at\fB\-r \fIjob....br.B at \-l[\|\fIjob...\fR\|].sp.br.B batch[\|\fIfile\fR\|].SH Description.NXR "at command".NXR "command" "executing later".NXR "program" "executing later"The.PN atand.PN batchcommandsuse a copy of the named.I file(standard input default)as input to.MS sh 1or.MS csh 1 at a later time.A.PN cdcommand to the current directory is insertedat the beginning,followed by assignments to all environment variables.When the script is run, it uses the user and group IDof the creator of the copy file..PPThe .PN atcommand allows the user to specify when the commands should be executed,while jobs queued with.PN batch execute when the load level of the system permits..PPThe environment variables,current directory,.PN umask ,and.PN ulimitare retained when the commands are executed.However, open files, traps, and priority are lost..PPUsers are permitted to use the.PN atand.PN batchcommands if their name appears in the file.PN /usr/lib/cron/at.allow .If that file does not exist, the file.PN /usr/lib/cron/at.denyis checked to determine if the user should be denied access to.PN atand.PN batch .If neither file exists, only the superuser is allowed to submit a job.If only the.PN at.denyfile exists and is empty, global usage is permitted.The .PN allow/denyfiles consist of one user name per line..PPThe.I timeis 1 to 4 digits.  It can, but does not have to be, followed byA, P, N or M which stand forAM, PM, noon or midnight, respectively. The A, P, N, and M suffixes are case-insensitive.One and two digit numbers are interpreted as hours, three andfour digits to be hours and minutes. If three digits are specified, the firstdigit is interpreted to be an hour in therange 0-9, and the second and third digits as minutes.If no letters follow the digits, a 24 hour clock time is presumed..PPIn addition to 1-4 digits, and suffixes A, P, M, N, you can also specify:.EX 10at hh:mmat h:mmat hamat hpmat noonat midnight.EE.PPThe optional.I dayis eithera month name followed by a day numberor by a day of the week.  If the word week follows, the.PN ator.PN batch command is invoked in seven days.Both commands also recognize standard abbreviations for thedays of the week and months of the year.The following are examples of legitimate commands:.EX 10at 8am jan 24.spat 1530 fr week.EE.PPThe.PN atprograms are executed by periodic executionof the command .PN /usr/lib/atrunfrom .MS cron 8 .The granularity of.PN atdepends upon how often.I atrunis executed.The .PN croncommand examines the .PN crontabfile every minute.  The .PN crontabfile determines when .PN /usr/lib/atrun is executed.  The defaultis every 15 minutes on the 1/4 hour. Editing .PN /etc/crontabmakes .PN /usr/lib/atrunrun more or less frequently..PPStandard output or error output is lost unless it is redirected..PPThe .PN atand.PN batchcommands write the job number to standard error..SH Options.TP 20.B \-rRemoves jobs previously scheduled by.PN ator.PN batch .The number is the number reported at invocation by.PN ator .PN batch .Only the superuser is allowed to remove another user's jobs..TP.B \-lLists all job numbers for all jobs submitted by the user issuing the.PN atcommand.  Even if the user is "root", only numbers for jobs submitted by "root"are displayed.  To see the numbers of all jobs submitted, enter thefollowing command:.EX% ls -l /usr/spool/at.EE.SH Restrictions.NXR "at command" "restricted"Due to the granularity of the execution of .PN /usr/lib/atrun ,there may be bugs in scheduling jobs almostexactly 24 hours into the future..SH DiagnosticsComplains about various syntax errors and times that areout of range..SH Files.ta 2i/usr/lib/atrun	executor run by cron(8).spin /usr/spool/at:.ta .5i 2i.br\&	yy.ddd.hhhh.*	activity for year yy, day dd, hour hhhh..br\&	lasttimedone	last \fIhhhh\fR.br\&	past	activities in progress.br/usr/spool/at/at.allow	list of allowed users	.br/usr/spool/at/at.deny	list of denied users.br/usr/spool/at	spool directory.br/usr/lib/cron	XOPEN compatibility.SH See Alsocrontab(5), cron(8)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -