axlSetJobPolicyProperty
axlSetJobPolicyProperty(
t_jobPolicyName
t_jobPropertyName
t_jobPropertyValue
)
=> t / nil
Description
Sets a property name-value pair for the specified job policy. You can use this function to update the properties of an existing policy. To apply the updated properties to all the sessions, set the updated policy as the default policy for the tool by using the defaultJobPolicy environment variable.
Arguments
|
Name of an existing job to which you want to add a new property. |
||
Value Returned
|
The specified property name and value is set for the specified job policy. |
||
|
The specified property name and value is not set for the specified job policy. |
||
Examples
Returns the job policy attached to test Test1 and change the configuretimeout property for it:
;; get the job policy attached to Test1
axlGetAttachedJobPolicy("session0" "ICRP" "Test1")
(nil blockemail "1" configuretimeout "200"
distributionmethod "LBS" lingertimeout "300" maxjobs
"5" name "mypolicy" preemptivestart "1"
reconfigureimmediately "1" runtimeout "3600" showerrorwhenretrying "1"
showoutputlogerror "0" startmaxjobsimmed "1" starttimeout "300" )
;; change the configuretimeout property
axlSetJobPolicyProperty( "mypolicy" "configuretimeout" "500" )
=> t
Related Topics
Return to top