Sun Java System Web Server 6.1 SP11 Administrator's Guide

ProcedureTo add regular maintenance of a collection

  1. Select the collection you want to schedule maintenance for and click the Add Scheduled Maintenance link.

  2. Enter the following information:

    • Task. Select the task you want to automate. The choices are reindex and update.

      If you select Update, you must enter the following information:

      • Recurse Subdirectories? If you select No, documents within the subdirectoriesof the selected directory will not be indexed. The default is Yes.

      • Pattern. Specify a wildcard to select the files to be indexed. For more information on wildcards, see Wildcards Used in the Resource Picker.

      Caution – Caution –

      Use the wildcard pattern judiciously to ensure that only specific files are indexed. For example, specifying *.* might cause even executables and perl scripts to be indexed.

      • Default Encoding. Specify the character encoding for the documents to be indexed. The default is “ISO-8859-1.” The indexing engine tries to determine the encoding of HTML documents from the embedded meta tag. If this is not specified, the default encoding is used.

        Documents in a collections are not restricted to a single language/encoding. Every time documents are added, only a single encoding can be specified; however, the next time you add documents to the collection, you can select a different default encoding.

      • Scheduled Time. (Required) Specify the time of day, in the HH:MM format, when you want the scheduled maintenance to run. For example, you might want to scheduled maintenance to run at the end of the day when it is likely that the documents in the collection have been modified.

      • Schedule day(s) of week. (Required) Check one or more of the checkboxes to specify the day or days of the week when the scheduled maintenance will run.

  3. Click OK.

    Note –

    UNIX/Linux users must restart the cron control process after adding scheduled maintenance, in order for their changes to take effect.