.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\" %sccs.include.redist.roff%
.\" @(#)crontab.5 8.2 (Berkeley) %G%
.Nd chronological services schedule file
file contains the schedules used by the
Each line in the schedule gives a time of execution
and the command to be executed.
two fields giving the time,
three fields giving the day,
and lastly the command to be
The first five fields are space
a comma separated list of numbers,
or an asterisk meaning any or all possible values.
The last field (the command field) may contain spaces.
A field containing two hyphen separated numbers is treated as
The minute of the hour, a number from 0 to 59.
The hour, a number from 0 to 23.
The day in terms of the month, a number from 1 to 31.
The month in terms of the year, a number from 1 to 12.
The day in terms of the week, a number from 1 to 7.
Monday is considered day one, Sunday is day seven.
The name of a user: the command will be run with the
user's uid and permissions.
The command to execute. This field may be terminated with a
may be created and used for additional scheduling.
the first field indicates the command should be executed at the hour,
a quarter past the hour, on the half hour and at a quarter to the hour.
The next four fields indicate the command should be run every hour,
every day. The sixth field indicates the command is to be run with
.Bd -literal -offset indent
0,15,30,45 * * * * root /usr/libexec/atrun
the first field indicates this command should be executed on the half hour.
The second field constrains the hour to 3 A.M. The third and fourth
fields indicate any day of the month and any month of the year, but are
constrained by the fifth field to the sixth day of the week (Saturday).
The command is to be executed with root privileges. The example shown here
has been folded (spread across two lines) to make it readable.
It must not be folded in the the
.Bd -literal -offset indent
30 3 * * 6 root /bin/sh /etc/weekly 2>&1 | tee
/var/log/weekly.out | mail -s "weekly output" root
.Bl -tag -width /etc/crontab.local -compact
.It Pa /etc/crontab.local
System initialization script (normally,
is executed from this script.)