mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 00:02:44 +00:00
6edba32695
This has the benefit of adding a random start time element as daily processing takes a different amount of time on different machines.
28 lines
686 B
Plaintext
28 lines
686 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
|
|
#
|
|
# save some entropy so that /dev/random can reseed on boot
|
|
*/11 * * * * operator /usr/libexec/save-entropy
|
|
#
|
|
# rotate log files every hour, if necessary
|
|
0 * * * * root newsyslog
|
|
#
|
|
# do daily/weekly/monthly maintenance
|
|
1 3 * * * root periodic daily
|
|
15 4 * * 6 root periodic weekly
|
|
30 5 1 * * root periodic 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
|