|
# $OpenBSD: crontab,v 1.22 2016/09/04 09:37:26 tb Exp $
|
|
#
|
|
# /var/cron/tabs/root - root's crontab
|
|
#
|
|
SHELL=/bin/sh
|
|
PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
|
HOME=/var/log
|
|
#
|
|
#minute hour mday month wday command
|
|
#
|
|
# rotate log files every hour, if necessary
|
|
0 * * * * /usr/bin/newsyslog
|
|
# send log file notifications, if necessary
|
|
#1-59 * * * * /usr/bin/newsyslog -m
|
|
#
|
|
# do daily/weekly/monthly maintenance
|
|
30 1 * * * /bin/sh /etc/daily
|
|
30 3 * * 6 /bin/sh /etc/weekly
|
|
30 5 1 * * /bin/sh /etc/monthly
|
|
#0 * * * * sleep $((RANDOM \% 2048)) && /usr/libexec/spamd-setup
|