From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,d4c1f7c0fe672a4 X-Google-Attributes: gidfcda7,public X-Google-Thread: 1020c6,d4c1f7c0fe672a4 X-Google-Attributes: gid1020c6,public X-Google-Thread: 1070f0,d4c1f7c0fe672a4 X-Google-Attributes: gid1070f0,public X-Google-Thread: 1164f8,d4c1f7c0fe672a4 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10872d,d4c1f7c0fe672a4 X-Google-Attributes: gid10872d,public X-Google-Thread: 111731,d4c1f7c0fe672a4 X-Google-Attributes: gid111731,public From: "Benjamin Z. Goldsteen" Subject: Re: Different UNIX pro's and con's. Date: 1998/09/18 Message-ID: <3602BD10.A6DB9270@zeta.omrf.ouhsc.edu>#1/1 X-Deja-AN: 392513662 Content-Transfer-Encoding: 7bit References: <35F71814.1E0B911C@iakom.com> <35FDE4C4.83878B2A@home.com> <35FF02B1.D5890477@home.com> <6tovb9$rs4$1@enterprise.nssl.noaa.gov> <3601DE1E.B03FA547@home.com> Content-Type: text/plain; charset=us-ascii Organization: OMRF Mime-Version: 1.0 Reply-To: benjamin-goldsteen@ouhsc.edu Newsgroups: comp.unix.advocacy,comp.unix.admin,comp.sys.hp.hpux,comp.sys.sgi.admin,comp.sys.sun.admin,comp.sys.dec Rev. Don Kool wrote: [...] > > If "/tmp" fills up, write a cron job that cleans out files older than a > > certain date. Rebooting because /tmp fills up is an indication of either > > a lack of knowledge of UNIX, or just plain laziness! > > echo '0 2 * * 6 find /tmp -atime +7 -exec rm {} \; > > /var/adm/remlist.txt' >> /var/spool/cron/crontabs/root > > echo "0 2 * * 6 reboot" >> /var/spool/cron/crontabs/root > > Notice the difference in the number of keystrokes required? [...] Are you that slow of a typist that this really matters? The find command can be added to the cron to run periodically. It should take less than a minute to add it to Root's crontab. This would be done once per installation (or perhaps installation). Some UNIX systems come with such a command configured. I don't think this is a big deal. I'm not saying I don't reboot my systems. I reboot them when there is a reason. I try to find the problem so I don't encounter it again. Unexpected downtime/crashes have significant costs. I try to reduce those costs. -- Benjamin Z. Goldsteen Crystallography Program Oklahoma Medical Research Foundation 405 271 8954 / 405 271 7953 (FAX)