diff options
author | 2000-12-25 16:17:42 +0000 | |
---|---|---|
committer | 2000-12-25 16:17:42 +0000 | |
commit | 79bda9a8f5ae10597e6f73f4f413a3cf62405b79 (patch) | |
tree | 3fec23cb378f46a66edab980d6b8a200d0514312 /sys-apps/dcron | |
parent | Added 10xfree enviromentsettings file (diff) | |
download | historical-79bda9a8f5ae10597e6f73f4f413a3cf62405b79.tar.gz historical-79bda9a8f5ae10597e6f73f4f413a3cf62405b79.tar.bz2 historical-79bda9a8f5ae10597e6f73f4f413a3cf62405b79.zip |
*** empty log message ***
Diffstat (limited to 'sys-apps/dcron')
-rw-r--r-- | sys-apps/dcron/dcron-2.7.ebuild | 7 | ||||
-rw-r--r-- | sys-apps/dcron/files/crontab | 9 |
2 files changed, 14 insertions, 2 deletions
diff --git a/sys-apps/dcron/dcron-2.7.ebuild b/sys-apps/dcron/dcron-2.7.ebuild index cf147a6c2f81..45f51bcbe74e 100644 --- a/sys-apps/dcron/dcron-2.7.ebuild +++ b/sys-apps/dcron/dcron-2.7.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/dcron-2.7.ebuild,v 1.5 2000/12/24 14:00:14 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/dcron-2.7.ebuild,v 1.6 2000/12/25 16:17:42 achim Exp $ A=dcron27.tgz S=${WORKDIR}/dcron @@ -26,7 +26,7 @@ src_install() { chmod 4750 ${D}/usr/bin/crontab doman *.[18] diropts -m0750 - dodir /var/spool/cron/crontabs + dodir /var/spool/cron/crontabs /var/cron/lastrun dodoc CHANGELOG README #set up supervise support @@ -42,5 +42,8 @@ src_install() { #install rc script exeinto /etc/rc.d/init.d doexe ${FILESDIR}/dcron + + insinto /etc + doins ${FILESDIR}/crontab } diff --git a/sys-apps/dcron/files/crontab b/sys-apps/dcron/files/crontab new file mode 100644 index 000000000000..708272ddf6f0 --- /dev/null +++ b/sys-apps/dcron/files/crontab @@ -0,0 +1,9 @@ +# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly +# +-*/15 * * * * test -x /usr/sbin/run-crons && /usr/sbin/run-crons +0 0 * * * rm -f /var/cron/lastrun/cron.daily +0 0 * * 6 rm -f /var/cron/lastrun/cron.weekly +0 0 1 * * rm -f /var/cron/lastrun/cron.monthly + + + |