COAST Logo
The COAST Security Archive Nightly Scripts

Introduction to the nightly script

The archive demands continuous maintainance. This involves doing the following tasks every night: Instead of doing this by hand we set up a series of scripts to run every night. The script first starts by mirroring the remote sites. This is done every 4 days, by the following lines:
# Twice a week mirror the remote sites that change less frequently
#
(( $(date +%w) % 4 == 0 )) &&
        $CSAM/mirror/mirror $CSAM/packages/security-archive.biweekly

This code will only mirror the information out of the biweekly mirror control file.