Job.Runtime Property
Retrieves or sets the run-time limit for the job.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
<DefaultValueAttribute("Infinite")> _
<XmlAttributeAttribute> _
Public Property Runtime As String
[DefaultValueAttribute("Infinite")]
[XmlAttributeAttribute]
public string Runtime { get; set; }
[DefaultValueAttribute(L"Infinite")]
[XmlAttributeAttribute]
public:
virtual property String^ Runtime {
String^ get () sealed;
void set (String^ value) sealed;
}
/** @property */
public final String get_Runtime ()
/** @property */
public final void set_Runtime (String value)
public final function get Runtime () : String
public final function set Runtime (value : String)
Property Value
The run-time limit. The value is either Infinite or a string in the format dd:hh:mm, where dd is the number of days, hh is the number of hours, and mm is the number of minutes. You must provide leading zeros; for example, to specify a run time of one minute, use the string 00:00:01. The default is Infinite.
Remarks
The wall clock is used to determine the run time. The time is your best guess of how long the job will take; however, it needs to be fairly accurate because it is used to allocate resources. If the job exceeds this time, the job is terminated and its status becomes Cancelled.
For more information, see the JobRuntime configuration parameter in the Remarks section of Cluster.SetClusterParameter.
The sum of all Task.Runtime values should be less than the run-time value for the job.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP
Target Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities
See Also
Reference
Job Class
Job Members
Microsoft.ComputeCluster Namespace
RunUntilCanceled