From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DuUqQ-0005Yu-TM for garchives@archives.gentoo.org; Mon, 18 Jul 2005 12:35:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6ICXeIe022594; Mon, 18 Jul 2005 12:33:40 GMT Received: from s2.stud.uni-goettingen.de (s2.stud.uni-goettingen.de [134.76.60.22]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6ICR9Kw007238 for ; Mon, 18 Jul 2005 12:27:09 GMT Received: from vpn-3116.gwdg.de ([134.76.3.116] helo=butch.nik13.home) by s2.stud.uni-goettingen.de with asmtp (TLSv1:AES256-SHA:256) (Exim 4.22) id 1DuUiz-0003oC-BA for gentoo-user@lists.gentoo.org; Mon, 18 Jul 2005 14:27:57 +0200 Date: Mon, 18 Jul 2005 14:25:47 +0200 From: Hans-Werner Hilse To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Daily dumb question... chron. Message-Id: <20050718142547.53b4fc5a.hilse@web.de> In-Reply-To: <42DB9B45.50503@shic.co.uk> References: <42DB9B45.50503@shic.co.uk> X-Mailer: Sylpheed version 2.0.0beta5 (GTK+ 2.6.8; i386-pc-dragonfly1) X-Face: ?%{N&v`I$/2&hU/l[fz~s5ETugSOp`~y,.e%_7S0cRnkJ!hD&DbkIR;;>t`-uvSs1,][|;;Z0|SS=_yW(db!q|_s/q"G^.qrVrk4;&.1fg8lZ@Kn=&`ePL.e.N{ZIS%ZN%+O4(xa9=j[HXpQdlGrr'%xZ]vQp1doD"u"W%qM$w$ySo@t,&$A1]\unoo@d"X{)Wa2MaW-axG|lRiC;/gVmgI Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 9c00a9d5-b4cf-44fc-9a25-f1c09bcb198d X-Archives-Hash: 9042ad0ed7876fff2952efe47e4d1687 Hi, On Mon, 18 Jul 2005 13:06:29 +0100 "Steve [Gentoo]" wrote: > I've noticed the directories /etc/cron.daily; /etc/cron.hourly; > /etc/cron.monthly etc. and therein a bunch of non-user-specific > administration tasks... For example, in ./etc/cron.daily I've > logrotate.cron and rulesdujour - but none of these appear to have run in > the last month. Are thse system tasks supposed to be fired > automatically by fcron? What would be the easiest way to get all my > periodic system administration tasks defined in these directories to be > fired automatically? Did I make a sensible choice with fcron? Can't tell much about fcron (esp. if its config syntax is similar to my vixie-cron), but for me, vixie-cron installed a /etc/crontab that contains the following lines: 0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly 1 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily 15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly 30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly */10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons this does the job. -hwh -- gentoo-user@gentoo.org mailing list