# apollo-data-cleaner-job

A job to clean database tables based on the config.

Main environment variables:

DB_NAME
DB_HOST
DB_USER
DB_PASS
REDIS_HOST
REDIS_LOCK_ENABLED
SENTRY_DSN
DATADOG_SERVICE_NAME
STORED_PERIOD - period in days to keep filled in cleaned table.
MODEL_PATH - full path to the model related to the cleaned table.
FILTER_BY - model attribute name to filter period by.
