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.
Procedure
- From the Domino® Administrator, click the Configuration tab.
- Next to Use Directory on, select the server with the replica of the Domino® Directory you want to modify.
- Expand Server - Programs and then click Add Program.
- On the Basics tab, complete these fields:
Table 1. Basics tab Field
Enter
Program name
Compact
Command line
Command line options. Don't specify "load" before the options.
Server to run on
Enter either the full hierarchical name of a server on which Compact should run, an asterisk (*) to run the task on all servers, or a server group name. Any server group name that you use must be a Server only type of group (not a multi-purpose group).
Tip: You can use a pattern-matching character in this field. A pattern-matching character -- the question mark (?) -- allows you to include all servers where one or more subsequent characters in the server name vary, for example: Sales??/Renovations includes Sales01/Renovations, Sales02/Renovations, and so on.You can also use an asterisk (*) anywhere within a group name; you are not limited to the leftmost component of the hierarchical name. For example: Sales*/Renovations includes Sales001/Renovations, Sales002/Renovations, and so on.
Comment
Optional comments
- On the Schedule tab, complete these fields:
Table 2. Schedule tab Field
Enter
Enabled/disabled
Enabled
Run at times
Times to run Compact each day
Repeat interval of
How soon to run Compact again after it completes
Days of week
The days to run Compact
- Click Save and Close.