Date: Tue, 21 May 1996 08:42:34 -0500 (CDT) From: ptroot@uswest.com (Paul T. Root) To: compland@ism.com.br (Helio Coelho Jr. - CompuLand Informatica) Cc: questions@freebsd.org Subject: Re: message from daily run Message-ID: <199605211342.IAA24615@astro.acs.uswest.com> In-Reply-To: <199605211314.KAA13216@unix1.ism.com.br> from "Helio Coelho Jr. - CompuLand Informatica" at May 21, 96 10:14:51 am
next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, Helio Coelho Jr. - CompuLand Informatica said: > > Hi: > > I got that message from daily run output in a FreeBSD 2.1R box: > > > Removing scratch and junk files: > You did not enable the cleaning of / in /etc/daily! > > What that mean ? > > Thanks a lot! > Helio. This is the pertinent code. It removes core and backup files. And as you can see from the comment, it isn't safe. Ignore it, comment it out, or uncomment the find and edit to taste. cd /tmp # This is not safe, you need to decide what is appropriate for your # system. Leave a warning note for now. echo "You did not enable the cleaning of / in /etc/daily!" # #find / ! -fstype local -a -prune -o \ # \( -name '[#,]*' -o -name '.#*' -o -name a.out -o -name *.core \ # -o -name '*.CKP' -o -name '.emacs_[0-9]*' \) \ # -a -atime +3 -exec rm -f -- {} \; # -- Paul T. Root - USWEST !NTERPRISE Networking Service ptroot@uswest.com Whoever said, "It's not whether you win or lose that counts," probably lost! -- M. Navratilova
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605211342.IAA24615>