hm_jobs_setServiceProperty

Sets a service property for the PBS-sensor.

Syntax

hm_jobs_setServiceProperty service_name value

Type

HyperMesh Tcl Query

Description

Sets a service property for the PBS-sensor. This is useful for changing the startup time, log info, and so on.

Inputs

service_name
The name of the service to update.
value
The value to update to.

Examples

To set a service property to increase the startup time to 240:

hm_jobs_setServiceProperty "startup_timeout" 240
To write the debug logs to user directory:
hm_jobs_setServiceProperty "debug" true
To start the PBS-sensor implicitly:
hm_jobs_setServiceProperty "implicit_start" true

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

14.0.130