IDOL Category Component 12.13

# Expire at Regular Intervals

Use the following procedure to expire documents at regular intervals.

To expire documents at regular intervals

1. Open the IDOL 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 IDOL Content component for your changes to take effect.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL Category Component 12.13

Topic Title: Expire at Regular Intervals