NetBSD/etc/crontab

20 lines
690 B
Plaintext
Raw Normal View History

# $NetBSD: crontab,v 1.12 1997/08/20 07:18:41 mikel Exp $
1995-12-17 05:01:10 +03:00
#
# /var/cron/tabs/root - root's crontab for NetBSD
1993-04-02 11:18:23 +04:00
#
SHELL=/bin/sh
1997-01-04 17:04:34 +03:00
PATH=/bin:/sbin:/usr/bin:/usr/sbin
1993-04-02 11:18:23 +04:00
HOME=/var/log
#
#minute hour mday month wday command
#
1996-02-18 15:08:26 +03:00
*/10 * * * * /usr/libexec/atrun
#
# rotate log files every hour, if necessary
0 * * * * /usr/bin/newsyslog
#
# do daily/weekly/monthly maintenance
0 2 * * * /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | mail -s "`/bin/hostname` daily output" root
30 3 * * 6 /bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | mail -s "`/bin/hostname` weekly output" root
#30 5 1 * * /bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | mail -s "`/bin/hostname` monthly output" root