Lines 46-63
The
Link Here
|
46 |
.Nm |
46 |
.Nm |
47 |
utility searches |
47 |
utility searches |
48 |
.Pa /var/cron/tabs |
48 |
.Pa /var/cron/tabs |
49 |
for crontab files which are named after accounts in |
49 |
for user crontab files which are named after accounts in |
50 |
.Pa /etc/passwd ; |
50 |
.Pa /etc/passwd . |
51 |
crontabs found are loaded into memory. |
|
|
52 |
The |
51 |
The |
53 |
.Nm |
52 |
.Nm |
54 |
utility also searches for |
53 |
utility also searches for system crontab files in |
55 |
.Pa /etc/crontab |
54 |
.Pa /etc/crontab , |
56 |
and files in |
55 |
.Pa /etc/cron.d , |
57 |
.Pa /etc/cron.d |
|
|
58 |
and |
56 |
and |
59 |
.Pa /usr/local/etc/cron.d |
57 |
.Pa /usr/local/etc/cron.d . |
60 |
which are in a different format (see |
58 |
Crontabs found are loaded into memory. |
|
|
59 |
System crontab files are in a different format (see |
61 |
.Xr crontab 5 ) . |
60 |
.Xr crontab 5 ) . |
62 |
.Pp |
61 |
.Pp |
63 |
The |
62 |
The |
Lines 71-79
checks the status of the account with
Link Here
|
71 |
.Xr pam 3 |
70 |
.Xr pam 3 |
72 |
and skips the command if the account is unavailable, |
71 |
and skips the command if the account is unavailable, |
73 |
e.g., locked out or expired. |
72 |
e.g., locked out or expired. |
74 |
Commands from |
73 |
Commands from system crontabs bypass this check. |
75 |
.Pa /etc/crontab |
74 |
.Pp |
76 |
bypass this check. |
|
|
77 |
When executing |
75 |
When executing |
78 |
commands, any output is mailed to the owner of the crontab (or to the user |
76 |
commands, any output is mailed to the owner of the crontab (or to the user |
79 |
named in the |
77 |
named in the |
Lines 86-94
environment variable.
Link Here
|
86 |
Additionally, |
84 |
Additionally, |
87 |
.Nm |
85 |
.Nm |
88 |
checks each minute to see if its spool directory's modification time (or |
86 |
checks each minute to see if its spool directory's modification time (or |
89 |
the modification time on |
87 |
the modification time on any system crontab files) has changed, |
90 |
.Pa /etc/crontab ) |
88 |
and if it has, |
91 |
has changed, and if it has, |
|
|
92 |
.Nm |
89 |
.Nm |
93 |
will then examine the modification time on all crontabs and reload those |
90 |
will then examine the modification time on all crontabs and reload those |
94 |
which have changed. |
91 |
which have changed. |
Lines 119-128
This option can help to smooth down system load spikes during
Link Here
|
119 |
moments when a lot of jobs are likely to start at once, e.g., |
116 |
moments when a lot of jobs are likely to start at once, e.g., |
120 |
at the beginning of the first minute of each hour. |
117 |
at the beginning of the first minute of each hour. |
121 |
.It Fl J Ar rootjitter |
118 |
.It Fl J Ar rootjitter |
122 |
Enable time jitter for superuser jobs. |
119 |
Enable time jitter for superuser (user id 0) jobs. |
123 |
The same as |
120 |
The same as |
124 |
.Fl j |
121 |
.Fl j |
125 |
except that it will affect jobs run by the superuser only. |
122 |
except that it will affect jobs run by a superuser only. |
|
|
123 |
These jobs are either in the superuser's user crontab, or a |
124 |
system crontab when the |
125 |
.Em who |
126 |
field is specified as a superuser. The default is 0, which |
127 |
effectively disables root time jitter. |
126 |
.It Fl m Ar mailto |
128 |
.It Fl m Ar mailto |
127 |
Overrides the default recipient for |
129 |
Overrides the default recipient for |
128 |
.Nm |
130 |
.Nm |
Lines 222-230
Directory for optional/modularized system crontab files.
Link Here
|
222 |
configuration file for |
224 |
configuration file for |
223 |
.Nm |
225 |
.Nm |
224 |
.It Pa /usr/local/etc/cron.d |
226 |
.It Pa /usr/local/etc/cron.d |
225 |
Directory for third-party package provided crontab files. |
227 |
Directory for third-party package provided system crontab files. |
226 |
.It Pa /var/cron/tabs |
228 |
.It Pa /var/cron/tabs |
227 |
Directory for personal crontab files |
229 |
Directory for user crontab files |
228 |
.El |
230 |
.El |
229 |
.Sh SEE ALSO |
231 |
.Sh SEE ALSO |
230 |
.Xr crontab 1 , |
232 |
.Xr crontab 1 , |