Main Content

resumejobmanager

R2026b

Resume job manager process

After pausing a job manager with pausejobmanager, use the resumejobmanager script to allow it to resume scheduling jobs to workers.

The resumejobmanager executable resides in the folder matlabroot\toolbox\parallel\bin (Windows® operating system) or matlabroot/toolbox/parallel/bin (Linux® operating system). Enter the command at a Windows or Linux command-line prompt, respectively.

Syntax

resumejobmanager
resumejobmanager --options

Description

resumejobmanager resumes a job manager that is running under the mjs service.

resumejobmanager --options accepts the following input options. You can specify multiple options together in the same command. Precede each option with two dashes (--).

Before R2026b: To specify an option, use a single dash (-).

OptionOperation
--name <job_manager_name>

Specify the name of the job manager to resume. The default is the value of the DEFAULT_JOB_MANAGER_NAME parameter in the mjs_def file.

--remotehost <hostname>

Specify the host on which to resume the job manager. If omitted, the job manager resumes on the local host.

--baseport <port_number>

Specify the base port used by the mjs service on the remote host. Use this option only when the remote host's base port differs from the local BASE_PORT value in the mjs_def file.

--secretfile <path_to_shared_secret_file>

Specify the path to the shared secret file to use to sign the command. This option is required when the mjs_def file of the mjs service has REQUIRE_SCRIPT_VERIFICATION=true. If you do not use this option and the mjs services requires script verification, the command attempts to use the secret file in the default location:

$CHECKPOINTBASE/security/secret

--verbose, -v

Display detailed progress information about the command execution.

Examples

Resume the job manager named MyJobManager on the local host.

resumejobmanager --name MyJobManager

Resume the job manager named MyJobManager on the host JMHost.

resumejobmanager --name MyJobManager --remotehost JMHost