diff options
| author | glass <glass@NetBSD.org> | 1993-04-02 07:18:23 +0000 |
|---|---|---|
| committer | glass <glass@NetBSD.org> | 1993-04-02 07:18:23 +0000 |
| commit | f1944c19e27e8a26c0e4b2a9d8d94b1b0a8020b7 (patch) | |
| tree | b61aadf401730e2fbf445ef288e8b79da71b9c83 | |
| parent | b5ba167cd4769e9400a37fbc3f2413f80aef8d10 (diff) | |
installs crontab in right place
| -rw-r--r-- | etc/Makefile | 3 | ||||
| -rw-r--r-- | etc/crontab | 23 |
2 files changed, 18 insertions, 8 deletions
diff --git a/etc/Makefile b/etc/Makefile index 8347e517e99..d8f2b41dce5 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -4,7 +4,7 @@ NOOBJ= oobj # disktab may be wrong -- hcx9 is a tahoe, but gets its own. # -rw-r--r-- -BIN1= aliases csh.cshrc csh.login csh.logout crontab daily dm.conf \ +BIN1= aliases csh.cshrc csh.login csh.logout daily dm.conf \ ftpusers gettytab group hosts hosts.equiv hosts.lpd inetd.conf \ man.conf monthly motd netstart phones printcap protocols rc \ rc.local remote security services shells syslog.conf ttys weekly \ @@ -24,6 +24,7 @@ all clean cleandir depend etc install lint: distribution: install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc + install -c -o root -g wheel -m 600 crontab ${DESTDIR}/var/cron/tabs/root install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc (cd ${DESTDIR}/etc; pwd_mkdb -p master.passwd) install -c -o ${BINOWN} -g ${BINGRP} -m 555 \ diff --git a/etc/crontab b/etc/crontab index f70ff21df68..555b0b6b2ef 100644 --- a/etc/crontab +++ b/etc/crontab @@ -1,7 +1,16 @@ -0,15,30,45 * * * * root /usr/libexec/atrun -#0 1 * * * daemon /usr/contrib/news/daily -#0 0 * * * uucp /etc/uucp.daily -#7 5,12,18 * * * uucp /etc/uucp.6hours -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 -30 5 1 * * root /bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | mail -s "monthlyoutput" root +# (/root/root.cron installed on Sun Mar 28 20:31:41 1993) +# (Cron version -- $Header: /cvsroot/src/etc/crontab,v 1.2 1993/04/02 07:18:24 glass Exp $) +# (crontab.386bsd installed on Sun Mar 28 16:52:10 1993) +# (Cron version -- $Header: /cvsroot/src/etc/crontab,v 1.2 1993/04/02 07:18:24 glass Exp $) +# /etc/crontab.src - root's crontab for Vixie's cron +# +SHELL=/bin/sh +PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin +HOME=/var/log +# +#minute hour mday month wday command +# +#0/15 * * * * /usr/libexec/atrun +0 2 * * * /etc/daily > /var/log/daily.out 2>&1 +30 3 * * 6 /etc/weekly > /var/log/weekly.out 2>&1 +30 5 1 * * /etc/monthly > /var/log/monthly.out 2>&1 |
