Share via


Schedule.StartWindow Property

Definition

Gets or sets the time interval, starting from the time at which the schedule indicates a Job should be created, within which a Job must be created.

[Newtonsoft.Json.JsonProperty(PropertyName="startWindow")]
public TimeSpan? StartWindow { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="startWindow")>]
member this.StartWindow : Nullable<TimeSpan> with get, set
Public Property StartWindow As Nullable(Of TimeSpan)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

If a Job is not created within the startWindow interval, then the 'opportunity' is lost; no Job will be created until the next recurrence of the schedule. If the schedule is recurring, and the startWindow is longer than the recurrence interval, then this is equivalent to an infinite startWindow, because the Job that is 'due' in one recurrenceInterval is not carried forward into the next recurrence interval. The default is infinite. The minimum value is 1 minute. If you specify a lower value, the Batch service rejects the schedule with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).

Applies to