Running Compact using a Program document
Use a Program document to schedule Compact to run at a regular time. For example, schedule Compact to run with the -B option once a week.


1. From the Domino® Administrator, click the Configuration tab.

2. Next to Use Directory on, select the server with the replica of the Domino Directory you want to modify.

3. Expand Server - Programs and then click Add Program.

4. On the Basics tab, complete these fields:

5. On the Schedule tab, complete these fields:
6. Click Save and Close.

What to do next

Remember to perform full backups of the databases after compacting is complete.

Related concepts
Compacting databases

Related tasks
Ways to compact databases

Related reference
Compact options

Related information
Tip: Reduce the number of Connection Documents in the Domino Directory