執行 Updall 任務

您可以使用任務 - 啟動工具或控制台命令方法來執行Updall

Using the Task - Start tool

程序

  1. Domino ® Administrator 中,選擇要執行Updall的伺服器。
  2. 按一下伺服器 > 狀態選項卡。
  3. 任務窗格中,按一下任務 > 開始
  4. 選擇Updall
    重要提示:請勿選擇「更新」
  5. 執行下列操作之一:
    • 若要自訂Updall 的運作方式,請按一下「選擇進階選項」 ,然後按一下「啟動任務」 。指定選項以自訂Updall 的運作方式,然後按一下「確定」
    • 若要在沒有選項的情況下執行Updall ,請取消選擇「選擇進階選項」 ,然後按一下「啟動任務」

Using a console command

程序

  1. Domino ® Administrator 中,選擇要執行Updall的伺服器。
  2. 按一下伺服器 > 狀態選項卡。
  3. 按一下伺服器控制台
  4. Domino 命令欄位中,鍵入以下命令,然後按ENTER

    載入 updall資料庫路徑選項

    其中databasepath指定要執行Updall的文件, optionsUpdall命令列選項。

    例如,輸入:

    Load updall SALES.NSF -F

結果

下表說明如何使用databasepath來指定資料庫、資料夾和子資料夾。

Table 1. Examples of databasepath
更新 命令範例 文件已更新
Domino®資料資料夾中的特定資料庫 Load updall SALES.NSF,DEV.NSF 數據\銷售.NSF

資料\開發.NSF

All the databases in a folder relative to the Domino® data folder Load updall SALES 資料\銷售\所有資料庫
A specific database in a folder relative to the Domino® data folder Load updall SALES\USER1.NSF 數據\銷售\用戶1.NSF

All the files specified in an IND file created in the Domino® data folder

Note: If you are using the -T flag to specify a view, Indirect files (.IND) cannot be used.
Load updall WEEKLY.IND

where WEEKLY.IND contains:

SALES.NSF

DEV.NSF

SALES\USER1.NSF

SALES\NEW

數據\銷售.NSF

資料\開發.NSF

數據\銷售\用戶1.NSF

DATA\SALES\NEW\all databases

Using a Program document

About this task

Use a Program document to schedule Updall to run with options at a regular time. Note that by default Updall is included in the NOTES.INI setting ServerTasksAt2, so it runs daily at 2 AM on all databases without options.

程序

  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 that you want to modify.
  3. Expand Server > Programs and then click Add Program.
  4. Complete these fields on the Basics tab:
    Table 2. Basics tab

    Field

    Enter

    Program name

    Updall

    Command line

    Command line options. Don't specify "load" before the options.

    Server to run on

    Server on which to run Updall

    Comments

    Optional comments

  5. Complete these fields on the Schedule tab:
    Table 3. Schedule tab

    Field

    Enter

    Enabled/disabled

    Enabled

    Run at times

    Times to run Updall each day

    Repeat interval of

    How soon to run Updall again after it completes

    Days of week

    The days to run Updall

  6. Click Save and Close.