Shell commands for submitting compressor jobs, P. 246) – Apple Compressor 2 User Manual

Page 246

Advertising
background image

246

Appendix B

Command-Line Usage

Command options
This table provides information about each of the enabling and disabling service-node
and cluster-controlling services on a computer.

Shell Commands for Submitting Compressor Jobs

You can run the Compressor application from the command line using the Compressor
command, with a number of command-line options for submitting jobs.

In the command-line descriptions below, angle brackets < > indicate a mandatory
argument in a command and brackets [ ] indicate an optional argument.

Synopsis
Below is a synopsis of the command for submitting a job to a cluster. The Compressor
command is located in /Applications/Compressor.app/Contents/MacOS.

Compressor [-clustername <name>] [-clusterid <user name:password@IP address:port
number>][-command <command type> -options <XML command> [-wd <working
directory>] [-timeout <seconds>] [-show] [-batchname <name>] [-help]

Once the job is submitted successfully, this command displays the batch ID (identifier)
and job ID (identifier) in the shell, and you can monitor the progess of a batch in the
Batch Monitor.

Command options
This table provides information about each of the command options for submitting jobs.

Preference command option

Description

[-cluster] <on | off>

Turns cluster-controlling services on or off.

[timeout min] [servername name] [quickcluster on | off ]
[unmanagedservices on | off ] [unmanagedmulticapturethreshold
sec] [networkinterface allinterfaces | <bsd name>]

[-service Rendering] <on | off>

Turns UNIX Rendering services on or off.

[timeout min] [instances n] [autorestart on | off ] [unmanaged on |
off ]

[-list]

Lists the current qmasterprefs settings.

[-help]

Displays information about supported options for qmasterprefs.

[-restart] Restarts

Apple

Qmaster

services.

[-service name options]

Sets service options.

Preference command option

Description

Advertising