JobRestartConfig
Defines what to do if a failed or completed job is restarted.
Fields
| Name | Type | Description |
|---|---|---|
| JobRestartMode | JobRestartModes | Required. Job restart mode |
Initialization String Format
An instance can be initialized with a string of the following format: JobRestartMode: <mode>
Examples
Quickly changing the job restart mode:
SET @jobConfig.JobRestart = 'JobRestartMode: Continue';
Changing the job restart mode:
DECLARE @jobRestart wds.JobRestartConfig = 'JobRestartMode: FromScratch'
SET @jobRestart.JobRestartMode = 'Continue';
SET @jobConfig.JobRestart = @jobRestart;
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 |