JobConstraints.MaxWallClockTime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum elapsed time that the Job may run, measured from the time the Job is created.
[Newtonsoft.Json.JsonProperty(PropertyName="maxWallClockTime")]
public TimeSpan? MaxWallClockTime { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="maxWallClockTime")>]
member this.MaxWallClockTime : Nullable<TimeSpan> with get, set
Public Property MaxWallClockTime As Nullable(Of TimeSpan)
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Remarks
If the Job does not complete within the time limit, the Batch service terminates it and any Tasks that are still running. In this case, the termination reason will be MaxWallClockTimeExpiry. If this property is not specified, there is no time limit on how long the Job may run.