summaryrefslogtreecommitdiff
path: root/usr.sbin/cron
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2013-08-14 14:58:07 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2013-08-14 14:58:07 +0000
commit7bd8d5255765a9277c5761c29387ef30ff1ce837 (patch)
tree04d53802804d1d6f8cf0496dbf90ccc49296f573 /usr.sbin/cron
parent9f16a4fc5365d376721f0979bb05443b06612f64 (diff)
ISC cron is the defacto BSD cron these days so remove confusing
remarks about the historic BSD and SysV crons. OK jmc@
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r--usr.sbin/cron/crontab.543
1 files changed, 10 insertions, 33 deletions
diff --git a/usr.sbin/cron/crontab.5 b/usr.sbin/cron/crontab.5
index eac399c9506..c18c25bf1ac 100644
--- a/usr.sbin/cron/crontab.5
+++ b/usr.sbin/cron/crontab.5
@@ -17,7 +17,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
.\" OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.\" $OpenBSD: crontab.5,v 1.27 2013/08/14 08:41:16 jmc Exp $
+.\" $OpenBSD: crontab.5,v 1.28 2013/08/14 14:58:06 millert Exp $
.\"
.Dd $Mdocdate: August 14 2013 $
.Dt CRONTAB 5
@@ -111,9 +111,10 @@ daemon.
is set to
.Pa /bin/sh ,
and
-.Ev LOGNAME
+.Ev LOGNAME ,
+.Ev HOME ,
and
-.Ev HOME
+.Ev USER
are set from the
.Pa /etc/passwd
line of the
@@ -125,26 +126,14 @@ and
may be overridden by settings in the
.Nm crontab ;
.Ev LOGNAME
-may not.
-.Pp
-Note: on
-.Bx
-systems the
-.Ev LOGNAME
-variable is sometimes called
-.Ev USER .
-On
-.Ox ,
-.Xr cron 8
-will set both
-.Ev USER
and
-.Ev LOGNAME
-to the same value.
+.Ev USER
+may not.
.Pp
In addition to
.Ev LOGNAME ,
.Ev HOME ,
+.Ev USER ,
and
.Ev SHELL ,
.Xr cron 8
@@ -406,22 +395,10 @@ is the same as
Months or days of the week can be specified by name.
.Pp
Environment variables can be set in the crontab.
-In
-.Bx
-or
-.At ,
-the
-environment handed to child processes is basically the one from
-.Pa /etc/rc .
.Pp
-Command output is mailed to the crontab owner
-.Po
-.Bx
-can't do this
-.Pc ,
-can be
-mailed to a person other than the crontab owner (SysV can't do this), or the
-feature can be turned off and no mail will be sent at all (SysV can't do this
+Command output is mailed to the crontab owner, can be
+mailed to a person other than the crontab owner, or the
+feature can be turned off and no mail will be sent at all.
either).
.Pp
All of the