crontab.1
来自「minix操作系统最新版本(3.1.1)的源代码」· 1 代码 · 共 94 行
1
94 行
.TH CRONTAB 1.SH NAMEcrontab \- User crontab manipulation.SH SYNOPSIS.B crontab \-c.RI [ user ].I file.br.B crontab \-l.RI [ user ].br.B crontab \-r.RI [ user ].br.B crontab \-p.SH DESCRIPTIONThe.B crontabprogram allows users to manipulate their personal crontab files. Thesefiles are hidden in.BI /usr/spool/crontabs/ userwhere.I useris the login name of a given user. The system daemon.B cronuses these crontabs, among others, to run tasks that are to be repeated atregular intervals. See.BR crontab (5)on what a good crontab file should look like..PPOnly the superuser can specify a user name to manipulate the crontab of agiven user. Any other user can only touch their own crontab file..SH OPTIONS.TP\fB\-c\fR [\fIuser\fR] \fIfile\fRInstall.I fileas the crontab file of.IR user ..TP\fB\-l\fR [\fIuser\fR]List the crontab file of.I userto standard output..TP\fB\-r\fR [\fIuser\fR]Remove the crontab file of.IR user ..TP\fB\-p\fRTell cron to reload its tables. Useful for system administrators to signala change to any of the system crontab files. Changes made by the.B crontabprogram are signalled automatically. (Mnemonic: \-p = "ping".).SH FILES.TP \w'/usr/spool/crontabs/user'u+5n.BI /usr/spool/crontabs/ userPer user personal crontab file..SH "SEE ALSO".BR crontab (5),.BR cron (8)..SH DIAGNOSTICS.B Crontabpreparses a new crontab and only installs it if correct. All errors aresent to standard error, messages about installing a new table and telling.B cronto reload are sent to standard output..SH BUGS.B Crontabmisses a.B \-eoption that other implementations of this command allow one to edit thecurrent crontab and install the result. Seems quite handy until you try toinstall a new crontab from an automated script. That's why this commandhas a.B \-coption that installs a prepared crontab file. Use.PP.RS.nfcrontab \-l >/tmp/tab${EDITOR\-vi} /tmp/tabcrontab \-c /tmp/tab.fi.RE.PPto get the same effect as.BR "crontab \-e" ..SH AUTHORKees J. Bot (kjb@cs.vu.nl).\".\" $PchId: crontab.1,v 1.3 2000/07/17 18:51:04 philip Exp $
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?