deleting files from /tmp more frequently than daily
From: Rob (rearnshaw_at_yahoo.com)
Date: 11/20/03
- Previous message: Paul Ainslie: "Re: LED 888? What for?"
- Next in thread: alauts: "Re: deleting files from /tmp more frequently than daily"
- Reply: alauts: "Re: deleting files from /tmp more frequently than daily"
- Reply: Alois Steindl: "Re: deleting files from /tmp more frequently than daily"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 19 Nov 2003 20:57:20 -0800
We have a program that outputs a 3mb file to /tmp and is then accessed
via samba from windows users.
Usually it is run infrequently and the files are cleaned out in a
nightly process. Occasionally it is run up to 15 times a day and
quickly fills up /tmp
I want to write a script that cleans these files out of /tmp if they
haven't been accessed for more than 2 hours. Where using AIX 4.3 and I
was going to use the find command but there does not seem to be an
-cmin command in AIX like there is in Linux.
Any ideas?
Thanks
- Previous message: Paul Ainslie: "Re: LED 888? What for?"
- Next in thread: alauts: "Re: deleting files from /tmp more frequently than daily"
- Reply: alauts: "Re: deleting files from /tmp more frequently than daily"
- Reply: Alois Steindl: "Re: deleting files from /tmp more frequently than daily"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|