reaper

Group: EWDB_APPLICATIONS
Description: reaper is a catch-all, database cleanup program. It deletes all parametric, waveform, and strong motion data from the database that is more than X days old, where X is the value set for in the config file.

(Nothing survives the reaper!). It deletes data based on both Origin time of events and also timestamps for unassociated data. The functionality of the reaper is a subset of db_cleanup2. It does not do archiving, and it deletes all data older than a given number of days.

This program is meant to be run out of cron(or some other periodic invocation method). Its function is to keep the amount of data in the database manageable, by deleting the oldest data. This is done so that the database doesn't fill-up or incur problems because of data build-up over time.

Adapted from db_cleanup. Initial version by DavidK 2001/07/14
Sample Config File