|
|
1.1 root 1: .TH CRON 8
2: .CT 1 sa_auto
3: .SH NAME
4: cron \- clock daemon
5: .SH SYNOPSIS
6: .B /etc/cron
7: .SH DESCRIPTION
8: .I Cron
9: executes commands at specified dates and times
10: according to the instructions in the file
11: .FR /etc/crontab .
12: It should be run once from
13: .IR rc (8).
14: .PP
15: .I Crontab
16: entries are lines of seven fields separated by blanks or tabs:
17: .IP
18: .I
19: login minute hour day month weekday command
20: .PP
21: .I Login
22: is the login name under
23: whose userid and groupid
24: the command should be executed.
25: The next five fields are integer patterns for
26: .PD0
27: .RS
28: .TP \w'day\ of\ month\ \ 'u
29: minute
30: 0-59
31: .TP
32: hour
33: 0-23
34: .TP
35: day of month
36: 1-31
37: .TP
38: month of year
39: 1-12
40: .TP
41: day of week
42: 0-6; 0=Sunday
43: .PD
44: .RE
45: .PP
46: Each pattern may
47: contain a number in the range above;
48: two numbers separated by
49: a hyphen
50: meaning an inclusive range;
51: a list of numbers separated by
52: commas meaning any of the numbers;
53: or an asterisk meaning all legal values.
54: .PP
55: The last field is a string
56: to be executed by the shell,
57: after replacing
58: .L %
59: with newline.
60: Only the first line
61: (up to a
62: .L %
63: or end of line)
64: of the command field is executed by the shell.
65: The other lines are made available to the
66: command as standard input.
67: .PP
68: It is wise to spread the times of activities to avoid
69: bogging the system down at favorite hours.
70: .PP
71: .I Cron
72: examines
73: .I crontab
74: every minute.
75: .SH EXAMPLES
76: .EX
77: daemon 17 3 * * * /usr/bin/calendar - # reminders at 0317
78: adm 15 4 1,15 * * ac -p | mail adm # bimonthly accounts
79: daemon 0 12 22-28 11 4 mail turkey % time's up: thanksgiving dinner
80: .EE
81: .SH FILES
82: .F /etc/crontab
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.