cleantmp(ADM) 19 June 1992 cleantmp(ADM) 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 sys- tem. 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 is 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 File /etc/default/cleantmp See also rc2(ADM) Value added cleantmp is an extension of AT&T System V provided by The Santa Cruz Operation, Inc.