執行 Updall 任務
您可以使用任務 - 啟動工具或控制台命令方法來執行Updall 。
Using the Task - Start tool
程序
- 從Domino ® Administrator 中,選擇要執行Updall的伺服器。
- 按一下 選項卡。
- 在任務窗格中,按一下 。
- 選擇Updall 。 重要提示:請勿選擇「更新」 。
- 執行下列操作之一:
- 若要自訂Updall 的運作方式,請按一下「選擇進階選項」 ,然後按一下「啟動任務」 。指定選項以自訂Updall 的運作方式,然後按一下「確定」 。
- 若要在沒有選項的情況下執行Updall ,請取消選擇「選擇進階選項」 ,然後按一下「啟動任務」 。
Using a console command
程序
- 從Domino ® Administrator 中,選擇要執行Updall的伺服器。
- 按一下 選項卡。
- 按一下伺服器控制台。
- 在Domino 命令欄位中,鍵入以下命令,然後按ENTER :
載入 updall資料庫路徑選項
其中databasepath指定要執行Updall的文件, options是Updall命令列選項。
例如,輸入:
Load updall SALES.NSF -F
結果
下表說明如何使用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.NSFDEV.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.
程序
- From the Domino® Administrator, click the Configuration tab.
- Next to Use Directory on, select the server with the replica of the Domino® Directory that you want to modify.
- Expand Add Program. and then click
- 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
- 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
- Click Save and Close.