NAME
Foorum::TheSchwartz::Worker::RemoveOldDataFromDB - remove data from database to keep it small
SYNOPSIS
# check bin/cron/TheSchwartz_client.pl and bin/cron/TheSchwartz_worker.pl for usage
DESCRIPTION
Remove old/useless data to keep database as small as possible. Things removed are:
- records in visit table more than 30 days
- log_path and log_error more than 30 days
- banned_ip more than 1 week
- session more than 30 days
SEE ALSO
AUTHOR
Fayland Lam <fayland at gmail.com>