RestartConfig
Controls behavior when restarting a job — either continue from cached state or rebuild from scratch.
| Name | Type | Description |
|---|---|---|
| RestartMode | JobRestartModes | Required. Job restart mode |
Initialization String Format
An instance can be initialized with a string of the following format: RestartMode: <mode>
Examples
Quickly changing the job restart mode:
SET @jobConfig.Restart = 'RestartMode: Continue';
Changing the job restart mode:
DECLARE @restartConfig wds.RestartConfig = 'RestartMode: FromScratch'
SET @restartConfig.RestartMode = 'Continue';
SET @jobConfig.Restart = @restartConfig;
JobRestartModes
Describes restart strategies and their effect on previously cached data.
Values
| Name | Description |
|---|---|
| Continue | Reuse cached data and continue crawling and parsing new data |
| FromScratch | Clear cached data and start from scratch |