Community Component 25.1
Community Component Help

# Expire at Regular Intervals

Use the following procedure to expire documents at regular intervals.

To expire documents at regular intervals

1. Open the Content component configuration file in a text editor.

2. Find the `[Schedule]` section. If the configuration file does not contain a `[Schedule]` section, add one.

3. 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

4. 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

5. Save and close the configuration file.

6. Restart the Content component for your changes to take effect.

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Community Component 25.1

Topic Title: Expire at Regular Intervals