BSD 4_4 release
[unix-history] / usr / src / usr.sbin / cron / cron.8
index 7080018..009e46e 100644 (file)
@@ -1,16 +1,23 @@
-.\"    @(#)cron.8      6.3 (Berkeley) %G%
+.\" Copyright (c) 1986, 1993
+.\"    The Regents of the University of California.  All rights reserved.
 .\"
 .\"
-.TH CRON 8 ""
+.\" This module is believed to contain source code proprietary to AT&T.
+.\" Use and redistribution is subject to the Berkeley Software License
+.\" Agreement and your Software Agreement with AT&T (Western Electric).
+.\"
+.\"    @(#)cron.8      8.1 (Berkeley) 6/6/93
+.\"
+.TH CRON 8 "June 6, 1993"
 .AT 3
 .SH NAME
 cron \- clock daemon
 .SH SYNOPSIS
 .AT 3
 .SH NAME
 cron \- clock daemon
 .SH SYNOPSIS
-.B /etc/cron
+.B cron
 .SH DESCRIPTION
 .I Cron
 executes commands at specified dates and times
 according to the instructions in the files
 .SH DESCRIPTION
 .I Cron
 executes commands at specified dates and times
 according to the instructions in the files
-/usr/lib/crontab and /usr/lib/crontab.local.
+/etc/crontab and /etc/crontab.local.
 None, either one, or both of these files may be present.
 Since
 .I cron
 None, either one, or both of these files may be present.
 Since
 .I cron
@@ -28,23 +35,51 @@ The
 crontab files
 consist of lines of seven fields each.
 The fields are separated by spaces or tabs.
 crontab files
 consist of lines of seven fields each.
 The fields are separated by spaces or tabs.
-The first five are integer patterns to
-specify the
-minute (0-59),
-hour (0-23),
-day of the month (1-31),
-month of the year (1-12),
-and day of the week (1-7 with 1=Monday).
-Each of these patterns may
-contain a number in the range above;
-two numbers separated by
-a minus
-meaning a range inclusive;
+The first five are integer patterns to specify:
+.in +2m
+.TP 2m
+\(bu
+minute (0-59)
+.nr .0 \n()Pu
+.nr )P 0
+.TP 2m
+\(bu
+hour (0-23)
+.TP 2m
+\(bu
+day of the month (1-31)
+.TP 2m
+\(bu
+month of the year (1-12)
+.TP 2m
+\(bu
+day of the week (1-7 with 1 = Monday)
+.nr )P \n(.0u
+.in -2m
+.LP
+Each of these patterns may contain:
+.in +2m
+.TP 2m
+\(bu
+a number in the range above
+.nr .0 \n()Pu
+.nr )P 0
+.TP 2m
+\(bu
+two numbers separated by a minus
+meaning a range inclusive
+.TP 2m
+\(bu
 a list of numbers separated by
 a list of numbers separated by
-commas meaning any of the numbers;
-or an asterisk meaning all legal values.
+commas meaning any of the numbers
+.TP 2m
+\(bu
+an asterisk meaning all legal values
+.nr )P \n(.0u
+.in -2m
+.LP
 The sixth field is a user name: the
 The sixth field is a user name: the
-command will be run ``as'' that user.
+command will be run with that user's uid and permissions.
 The seventh field consists of all the text
 on a line following the sixth field,
 including spaces and tabs;
 The seventh field consists of all the text
 on a line following the sixth field,
 including spaces and tabs;
@@ -60,6 +95,6 @@ crontab files are checked by
 .I cron
 every minute, on the minute.
 .SH FILES
 .I cron
 every minute, on the minute.
 .SH FILES
-/usr/lib/crontab
+/etc/crontab
 .br
 .br
-/usr/lib/crontab.local
+/etc/crontab.local