Expire at Regular Intervals
Use the following procedure to expire documents at regular intervals.
-
Open the IDOL Content component configuration file in a text editor.
- Find the
[Schedule]
section. If the configuration file does not contain a[Schedule]
section, add one. -
Specify the following parameters in the
[Schedule]
section:-
Expire. Set to
True
to enable an expiration schedule. -
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 the IDOL Content component for your changes to take effect.