From owner-freebsd-questions Wed May 10 20:41:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pi.yip.org (yip.org [199.45.111.121]) by hub.freebsd.org (Postfix) with ESMTP id 2F73E37BAA2 for ; Wed, 10 May 2000 20:41:03 -0700 (PDT) (envelope-from melange@yip.org) Received: from localhost (melange@localhost) by pi.yip.org (8.9.3/8.9.3) with ESMTP id XAA94349 for ; Wed, 10 May 2000 23:41:02 -0400 (EDT) (envelope-from melange@yip.org) Date: Wed, 10 May 2000 23:41:02 -0400 (EDT) From: Bob K X-Sender: melange@localhost To: freebsd-questions@freebsd.org Subject: Re: linux tmpwatch equivalent? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG bela@nivek.org pointed out that find will do it: find /home/httpd/html/mime-tmp -amin 1200 -delete find /home/httpd/cgi-bin/acme/dope -amin 1200 -delete On Wed, 10 May 2000, Bob K wrote: > Today I installed acmemail (web-based mailreader) on a FreeBSD 3.4-S > system. The instructions given were for how to set it up on a RedHat 6.1 > box. I did manage to get everything installed and working except for one > thing: The instructions call for using tmpwatch in the equivalent of > /etc/daily.local to remove temporary files: > > /-- number of hours since file was last accessed > /usr/sbin/tmpwatch 20 /home/httpd/html/mime-tmp > /usr/sbin/tmpwatch 20 /home/httpd/cgi-bin/acme/dope > \-- path of files to check > > (Apologies to those without fixed-width fonts) > > So here's my question. Is there a FreeBSD equivalent to the RedHat > tmpwatch command, or a port that will accomplish the above? Here's the > man page for tmpwatch: > > http://nodevice.com/sections/ManIndex/man1816.html > > Please cc: me in any replies. Thanks in advance for any assistance you > may have. > > -- Bob "Reality is the only word in the language that should always be used in quotes" - My Life With The Thrill Kill Kult sample To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message