Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rc2(ADM)


     CLEANTMP(ADM)                      UNIX System V



     Name
          cleantmp - remove temporary files in directories specified


     Syntax
          /usr/lib/cleantmp


     Description
          cleantmp removes temporary files in directories specified in
          /etc/default/cleantmp   under   the   variable  TMPDIRS.  By
          default, /tmp and /usr/tmp are examined.  Users can  add  to
          the  list  of  directories, separating each directory with a
          space.  Files in these directories which  are  not  accessed
          within  the  last  n  days  will  be removed, where n is the
          number of days specified under  the  variable  FILEAGING  in
          /etc/default/cleantmp. By default, FILEAGING is 7. Users can
          change the number of days for FILEAGING.   /usr/lib/cleantmp
          is  run  as  a  cron  job  every  day  at  3:00a.m. Refer to
          /usr/spool/cron/crontabs/root on the system.  The super user
          can edit this file to change the frequency and time at which
          /usr/lib/cleantmp is run.  If the directories  specified  do
          not  exist  or  if they are mount points and the file system
          are not mounted, cleantmp will send mail to root saying that
          the directory does not exist.

          The format of /etc/default/cleantmp is as follows:

               FILEAGING=7
               TMPDIRS=/tmp /usr/tmp


     Files
          /etc/default/cleantmp


     See Also
          rc2(ADM)


     Value Added
          cleantmp is an extension of AT&T System V  provided  by  the
          Santa Cruz Operation.


     (printed 8/23/89)                          CLEANTMP(ADM)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026