Re: tmp files dumping
- From: Robert Hull <Robert@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 25 Mar 2006 02:08:20 +0000
In comp.os.linux.misc, on Fri 24 March 2006 20:51, John Hasler
<john@xxxxxxxxxx> wrote:
Bill Unruh writes:
For example put in an entry into roots crontab which says
0 4 1 1-12/1 * find /root/tmp -mtime +30 rm \{\} \; which would
delete all items older than 30 days old from /root/tmp at 4AM on the
first day of each month.
Or put a similar command in /etc/bash_logout.
Putting the command in /etc/bash/logout would probably not make it
execute very frequently since it would need to wait until the user
logged out.
Personally, I tend to log out less frequently than I reboot - simply
because my last two reboots were courtesy of the Electricity company.
--
Robert HULL
Archival or publication of this article on any part of thisishull.net
is without consent and is in direct breach of the Data Protection Act
.
- Follow-Ups:
- Re: tmp files dumping
- From: John Hasler
- Re: tmp files dumping
- References:
- tmp files dumping
- From: CWO4 Dave Mann
- Re: tmp files dumping
- From: Jeremiah DeWitt Weiner
- Re: tmp files dumping
- From: Robert Hull
- Re: tmp files dumping
- From: Unruh
- Re: tmp files dumping
- From: John Hasler
- tmp files dumping
- Prev by Date: Re: tmp files dumping
- Next by Date: Re: What linux should I install
- Previous by thread: Re: tmp files dumping
- Next by thread: Re: tmp files dumping
- Index(es):
Relevant Pages
|