Manual Page Result
0
Command: cron | Section: 8 | Source: UNIX v10 | File: cron.8
CRON(8) System Manager's Manual CRON(8)
NAME
cron - clock daemon
SYNOPSIS
/etc/cron
DESCRIPTION
Cron executes commands at specified dates and times according to the
instructions in the file It should be run once from rc(8).
Crontab entries are lines of seven fields separated by blanks or tabs:
login minute hour day month weekday command
Login is the login name under whose userid and groupid the command
should be executed. The next five fields are integer patterns for
minute 0-59
hour 0-23
day of month 1-31
month of year 1-12
day of week 0-6; 0=Sunday
Each pattern may contain a number in the range above; two numbers sepa-
rated by a hyphen meaning an inclusive range; a list of numbers sepa-
rated by commas meaning any of the numbers; or an asterisk meaning all
legal values.
The last field is a string to be executed by the shell, after replacing
with newline.
It is wise to spread the times of activities to avoid bogging the sys-
tem down at favorite hours.
Cron examines crontab every minute.
EXAMPLES
daemon 17 3 * * * /usr/bin/calendar - # reminders at 0317
adm 15 4 1,15 * * ac -p | mail adm # bimonthly accounts
root 0 12 22-28 11 4 /etc/wall Time for Thanksgiving dinner
FILES
SEE ALSO
at(1)
BUGS
The behavior of in crontab entries is nonstandard. Strings following
should be delivered to the command as standard input.
CRON(8)