d1f7e40ebd
- change to always output a valid To: and Subject: line. - To: recipient obtained from $MAILTO (defaults to root). - add date to Subject: line. closes [bin/4526] from Giles Lean <giles@nemeton.com.au> * daily: explicitly print 'Nothing to report' if /etc/security didn't report anything. * crontab: pass output of scripts through sendmail -t instead of
20 lines
592 B
Plaintext
20 lines
592 B
Plaintext
# $NetBSD: crontab,v 1.14 1998/09/15 05:06:30 lukem Exp $
|
|
#
|
|
# /var/cron/tabs/root - root's crontab for NetBSD
|
|
#
|
|
SHELL=/bin/sh
|
|
PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
|
HOME=/var/log
|
|
#
|
|
#minute hour mday month wday command
|
|
#
|
|
*/10 * * * * /usr/libexec/atrun
|
|
#
|
|
# rotate log files every hour, if necessary
|
|
0 * * * * /usr/bin/newsyslog
|
|
#
|
|
# do daily/weekly/monthly maintenance
|
|
15 3 * * * /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | sendmail -t
|
|
30 4 * * 6 /bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | sendmail -t
|
|
#30 5 1 * * /bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | sendmail -t
|