1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/etc/crontab
Dag-Erling Smørgrav ef54189fc9 Run all three maintenance script in succession, making sure they always
run on the right day but never overlap.

Submitted by:	Giorgos Keramidas <keramida@ceid.upatras.gr>
2000-12-11 17:31:44 +00:00

28 lines
746 B
Plaintext

# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD$
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hour mday month wday who command
#
*/5 * * * * root /usr/libexec/atrun
#
# rotate log files every hour, if necessary
0 * * * * root newsyslog
#
# Do daily/weekly/monthly maintenance.
# These four rules make sure the right maintenance scripts run one
# after the other on the right day.
1 3 2-31 * 0-5 root periodic daily
1 3 2-31 * 6 root periodic daily weekly
1 3 1 * 0-5 root periodic daily monthly
1 3 1 * 6 root periodic daily weekly monthly
#
# time zone change adjustment for wall cmos clock,
# does nothing, if you have UTC cmos clock.
# See adjkerntz(8) for details.
1,31 0-5 * * * root adjkerntz -a