cmwexpire
NAME
cmwexpire - Communiware expiration daemon
SYNOPSIS
cmwexpire [-c config] [-d] [-n] PERIOD
DESCRIPTION
cmwexpire is a program which periodically checks if some items in Communiware database are expired, and deletes them.
It uses expiration rules which are stored in the database as EXPIRATION_RULE items. Text of these items should contain condition (as should be specified in WHERE clause of SQL DELETE statement). Items which satisfy this condition would be deleted.
This query is authomatically appended by condition server=``virtual site this rule belongs to''.
Frequency of checking of particular expiration rule depends of its status, which may be HOURLY, DAILY or WEEKLY.
Upon each invocation of cmwexpire only rules with status, specified in command-line as PERIOD argument are checked.