|  | Back to Menu |
Configuring Autorun for Optimize Message Indexes
  This section describes how to run "Optimize Message Indexes" function of Denbun automatically. * The optimization takes some time according to the amount of message data. * Users cannot use Denbun when you perform "Optimize Message Indexes" for the users. * The following explanation is assuming that the installation folder directory is "C:\Inetpub\Scripts\dnpwml". 1. Create a Batch File Which Runs "Optimize Message Indexes" Create a batch file (dnpvacuum.bat) which runs "Optimize Message Indexes" (Denbun installation directory\dnpvacuum.exe). In the batch file, describe the following one line command. Parameters: -h [The full path name of Denbun installation directory] -l -a (<- Option to perform the optimization for all the users) -u [User ID] (<- Option to perform the optimization for a user) * Please specify either -a or -u [User ID] (not both). * The optimization takes some time according to the amount of message data.Please consider it if you perform it for all the users. * Example of dnpvacuum.bat 1: Perform the optimization for all the users
  "C:\Inetpub\Scripts\dnpwml\dnpvacuum.exe" -h "C:\Inetpub\Scripts\dnpwml" -l -a
  * Example of dnpvacuum.bat 2: Perform the optimization for a user who has "2" as User ID.
  "C:\Inetpub\Scripts\dnpwml\dnpvacuum.exe" -h "C:\Inetpub\Scripts\dnpwml" -l -u 2
  Open an editor such as Notepad to edit a batch file named "dnpvacuum.bat", save it to Denbun installation directory. 2. Use "at" Command Run the optimization program at specified time. Run command prompt ([Start]-[ Programs]-[Accessories]-[Command Prompt]) Run "at" command.
  > at 02:00 AM /every:1 "C:\Inetpub\Scripts\dnpwml\dnpvacuum.bat"
* In the above example, "dnpvacuum.bat" in C:\Inetpub\Scripts\dnpwml runs at 2:00AM every first day of month. * Please refer the help for more information about "at" command. If it runs normally, the "at" command responds by assigning a job ID.dnpscheduler.bat will run at the specified day and time. 3. Confirm Executing Open Optimize Message Indexes screen in the Denbun management tool, and make sure that the optimization has been done for the users you selected. If the process has terminated normally, Last Processed Time and a message, "Process Terminated Normally" are displayed. * If the optimizing process is in progress at the time of the autorun, the command is cancelled.The optimization process will not be run delicately.
| Copyright (C) NEOJAPAN Inc. All Rights Reserved.