Skip to main content
ExLibris
  • Subscribe by RSS
  • ExLibris Dev

    Cleaning Temporary files more than x days old/Cleaning log files more than..."

    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    One of the last things our “cold” Sunday backup script does is to restart ALEPH. There are two lines “Cleaning Temporary files more than 2 days old…” and “Cleaning log files more than 7 days old…”. Please explain what these files are that are being cleaned.

    Resolution:
    The “Cleaning Temporary files more than 2 days old…” is cleaning the $TMPDIR directory. "echo $TMPDIR" shows that on your server this is /exlibris/aleph/a18_1/tmp . (Note: This function is like util x/4, but it is better to have it as part of the startup script.)

    The “Cleaning log files more than 7 days old…”. is cleaning the $LOGDIR directory. "echo $LOGDIR" shows that on your server this is /exlibris/aleph/a18_1/log. (Note: This function is like util x/5, but it is better to have it as part of the startup script.)


    • Article last edited: 10/8/2013
    //doorbell.io feedback widged