Date: Wed, 10 May 2000 23:41:02 -0400 (EDT) From: Bob K <melange@yip.org> To: freebsd-questions@freebsd.org Subject: Re: linux tmpwatch equivalent? Message-ID: <Pine.BSF.4.21.0005102338440.90755-100000@localhost> In-Reply-To: <Pine.BSF.4.21.0005102256261.90755-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <melange@yip.org> "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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005102338440.90755-100000>