9ed55d1192
All periodic sub-scripts <larf> now have their return codes interpreted by periodic(8). Output may be masked based on variable values in periodic.conf. It's also now possible to email periodic output to arbitrary addresses, or to send it to a log file, examples of which can be found in newsyslog.conf. The upshot of it all should be no discernable changes to the default behaviour of periodic(8). PR: 21250
25 lines
578 B
Plaintext
25 lines
578 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
|
|
59 1 * * * root periodic daily
|
|
30 3 * * 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
|