hm_jobs_addServer

Add a new server.

Syntax

hm_jobs_addServer name host port

Type

HyperMesh Tcl Query

Description

This command is used add a server. The same information will be saved for later use in the server config file.

Inputs

name
The name of the server to be added.
host
The host/IP of the server. Note that the "local" server is always available by default.
port
The port number on which the server will communicate.

Example

To add a server named HWUL with IP 122.0.0.1 and port number 17084:

hm_jobs_addServer HWUL 122.0.0.1 17084

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