RestartConfig
Defines what to do if a failed or completed job is restarted.
Fields
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
Job restart mode enumeration.
Values
Name | Description |
---|---|
Continue | Reuse cached data and continue crawling and parsing new data |
FromScratch | Clear cached data and start from scratch |