Setting scheduling and priority attributes
This topic describes how to set scheduling and priority attributes.
Note: |
For attributes AgentClass and AgentPriority, changes are effective immediately. For ScriptClass and ScriptPriority, changes become effective for scripts fired after the execution of the hatype command. |
To update the AgentClass
- Type the following command:
hatype -modify resource_type AgentClass value
For example, to set the AgentClass attribute of the FileOnOff resource to RealTime, type:
hatype -modify FileOnOff AgentClass "RT"
To update the AgentPriority
- Type the following command:
hatype -modify resource_type AgentPriority value
For example, to set the AgentPriority attribute of the FileOnOff resource to 10, type:
hatype -modify FileOnOff AgentPriority "10"
To update the ScriptClass
- Type the following command:
hatype -modify resource_type ScriptClass value
For example, to set the ScriptClass of the FileOnOff resource to RealTime, type:
hatype -modify FileOnOff ScriptClass "RT"
To update the ScriptPriority
- Type the following command:
hatype -modify resource_type ScriptPriority value
For example, to set the ScriptClass of the FileOnOff resource to 40, type:
hatype -modify FileOnOff ScriptPriority "40"