Fayland 林 > Foorum > Foorum::TheSchwartz::Worker::RemoveOldDataFromDB

Download:
Foorum-1.001000.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.001000   Source  

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 ^

TheSchwartz

AUTHOR ^

Fayland Lam <fayland at gmail.com>

syntax highlighting: