[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2057: Man cron.daily



Package: man
Status: install ok installed
Priority: standard
Section: text
Maintainer: Alvar Bray <alvar@meiko.co.uk>
Version: 2.3.10
Revision: 5


The "man" script in cron.daily is as follows:
# expunge old catman pages which have not been read in a week
find /var/catman -type f -name '*[1-9nlop].gz' -atime +168 | xargs rm -f

# expunge old catman pages which are older than one month
find /var/catman -type f -name '*[1-9nlop].gz' -mtime +720 | xargs rm -f

exit 0


However, the man-page for "find" says:
       -atime n
              File was last accessed n*24 hours ago.

       -mtime n
              File's data was last modified n*24 hours ago.


The "168" and "720" should be "7" and "30", respectively.

                                        Brian
                                 ( bcwhite@bnr.ca )

-------------------------------------------------------------------------------
    In theory, theory and practice are the same.  In practice, they're not.


Reply to: