Cleaned up crontab from NetBSD, adjusted for FreeBSD.
This commit is contained in:
+20
-7
@@ -1,7 +1,20 @@
|
|||||||
0,15,30,45 * * * * root /usr/libexec/atrun
|
# /var/cron/tabs/root - root's crontab for FreeBSD
|
||||||
#0 1 * * * daemon /usr/contrib/news/daily
|
#
|
||||||
#0 0 * * * uucp /etc/uucp.daily
|
# $Id$
|
||||||
#7 5,12,18 * * * uucp /etc/uucp.6hours
|
# From: Id: crontab,v 1.6 1993/05/31 02:03:57 cgd Exp
|
||||||
0 2 * * * root /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | mail -s "daily output" root
|
#
|
||||||
30 3 * * 6 root /bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | mail -s "weekly output" root
|
SHELL=/bin/sh
|
||||||
30 5 1 * * root /bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | mail -s "monthlyoutput" root
|
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
|
||||||
|
HOME=/var/log
|
||||||
|
#
|
||||||
|
#minute hour mday month wday command
|
||||||
|
#
|
||||||
|
#0/15 * * * * /usr/libexec/atrun
|
||||||
|
#
|
||||||
|
# rotate log files every hour, if necessary
|
||||||
|
#0 * * * * /usr/bin/newsyslog
|
||||||
|
#
|
||||||
|
# do daily/weekly/monthly maintenance
|
||||||
|
0 2 * * * /etc/daily
|
||||||
|
30 3 * * 6 /etc/weekly
|
||||||
|
30 5 1 * * /etc/monthly
|
||||||
|
|||||||
Reference in New Issue
Block a user