Use the following procedure to expire documents at regular intervals.
Open the IDOL Server configuration file in a text editor.
[Schedule]
section. If the configuration file does not contain a [Schedule]
section, add one.Specify the following parameters in the [Schedule]
section:
ExpireTime
. Specify the time (hh:mm
) at which you want the expiration operation to start.
ExpireInterval
. Specify the number of hours that elapse between individual expiration operations. Set to 0 (zero) to perform the operation daily.
For example:
[Schedule] Expire=True ExpireTime=00:00 ExpireInterval=24
Set the following parameter in the individual database sections to specify where to archive the database documents when they expire:
ExpireIntoDatabase
. Specify the name of the database in which to archive expired documents. To delete documents when they expire, do not add this setting.
For example:
[News] ExpireIntoDatabase=Archive
Save and close the configuration file. Restart IDOL Server for your changes to take effect.
|