home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 4.0 PR1 / NeXT_NEXTSTEP_4.0_PR1_(beta).rar / Openstep4-Pr1User.iso / private / adm / monthly < prev    next >
Text File  |  1990-01-15  |  323b  |  16 lines

  1. #
  2. # /usr/adm/monthly
  3. #
  4. # This /bin/sh script is run once a month by cron.  Put any housekeeping
  5. # commands in here, like pruning of log files
  6. #
  7.  
  8. # Trim the lastlog
  9. cp -p /usr/adm/lastlog /usr/adm/lastlog.old
  10. cat /dev/null > /usr/adm/lastlog
  11.  
  12. # Trim wtmp
  13. cp -p /usr/adm/wtmp /usr/adm/wtmp.old
  14. cat /dev/null > /usr/adm/wtmp
  15.  
  16.