Clarify that /etc/crontab is the system crontab.
Submitted by: Benjamin Kaduk <kaduk@mit.edu>
This commit is contained in:
parent
dec2c88cfe
commit
5146f0f247
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=39900
1 changed files with 6 additions and 6 deletions
|
@ -520,8 +520,8 @@ run_rc_command "$1"</programlisting>
|
||||||
<username>root</username>.</para>
|
<username>root</username>.</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
<para>Let us take a look at <filename>/etc/crontab</filename>
|
<para>Let us take a look at <filename>/etc/crontab</filename>,
|
||||||
(the system crontab):</para>
|
the system crontab:</para>
|
||||||
|
|
||||||
<programlisting># /etc/crontab - root's crontab for &os;
|
<programlisting># /etc/crontab - root's crontab for &os;
|
||||||
#
|
#
|
||||||
|
@ -540,8 +540,8 @@ HOME=/var/log
|
||||||
|
|
||||||
<calloutlist>
|
<calloutlist>
|
||||||
<callout arearefs="co-comments">
|
<callout arearefs="co-comments">
|
||||||
<para>Like most &os; configuration files, the
|
<para>Like most &os; configuration files, lines that begin with the
|
||||||
<literal>#</literal> character represents a comment. A
|
<literal>#</literal> character are comments. A
|
||||||
comment can be placed in the file as a reminder of what and
|
comment can be placed in the file as a reminder of what and
|
||||||
why a desired action is performed. Comments cannot be on the
|
why a desired action is performed. Comments cannot be on the
|
||||||
same line as a command or else they will be interpreted as
|
same line as a command or else they will be interpreted as
|
||||||
|
@ -608,8 +608,8 @@ HOME=/var/log
|
||||||
<para>This is the basic setup for every
|
<para>This is the basic setup for every
|
||||||
<filename>crontab</filename> file, although there is one thing
|
<filename>crontab</filename> file, although there is one thing
|
||||||
different about this one. Field number six, where we specified
|
different about this one. Field number six, where we specified
|
||||||
the username, only exists in the system
|
the username, only exists in the system <filename>crontab</filename>.
|
||||||
<filename>/etc/crontab</filename>. This field should be
|
This field should be
|
||||||
omitted for individual user <filename>crontab</filename>
|
omitted for individual user <filename>crontab</filename>
|
||||||
files.</para>
|
files.</para>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue