SET QUERYSCHEDPERIOD (Set query period for polling client nodes)
Use this command to regulate how often client nodes contact the server to obtain scheduled work when it is running in the client-polling scheduling mode.
Each client can set its own retry period at the time its scheduler is started. You can use this command to override the value specified by all clients that can connect with the server.
If client nodes poll more frequently for schedules, the nodes receive changes to schedules more quickly. However, increased polling by the client nodes also increases network traffic.
You can issue the QUERY STATUS command to display the value for the period between schedule queries. At installation, IBM Spectrum® Protect is configured so that each client node determines its own value for this setting.
Privilege class
To issue this command, you must have system privilege.
Syntax
Parameters
- hours
- Specifies the maximum number of hours the scheduler on a client node waits between attempts to contact the server to obtain a schedule. This parameter is optional. You can specify an integer from 1 to 9999. If you do not specify a value for this parameter, each client determines its own value for this parameter.
Example: Set the polling period for all client nodes
Have all clients using the polling scheduling mode contact the server every 24 hours.set queryschedperiod 24
Related commands
Command | Description |
---|---|
QUERY STATUS | Displays the settings of server parameters, such as those selected by the SET commands. |
SET SCHEDMODES | Specifies the central scheduling mode for the server. |