[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#3114: cron.daily/standard script



Alvar Bray writes:
>     Michael> Would it be a good idea to add a line like
> 
>     Michael> find / -xdev -type f -name core -atime 7 -exec /bin/rm {} \;
> 
>     Michael> to /etc/crontab?
> 
> I dont think so, I have lots of core files around for
> debugging. Perhaps just mailing a list of them to root might be
> better.

I agree that mailing is a good solution. However, it seems most of you
didn't read my proposal carefully enough :-) The -xdev prevents find to go
to /home on normal systems since it is a different partition. I don't think
a developer has to have core files on the root partition, does he?

Michael

-- 
Michael Meskes                   |    _____ ________ __  ____
                                 |   / ___// ____/ // / / __ \___  __________
meskes@informatik.rwth-aachen.de |   \__ \/ /_  / // /_/ /_/ / _ \/ ___/ ___/
                                 |  ___/ / __/ /__  __/\__, /  __/ /  (__  )
Use Debian Linux!		 | /____/_/      /_/  /____/\___/_/  /____/


Reply to: