beautypg.com

Example of shake command xml, Shell commands for submitting compressor jobs, Synopsis – Apple Qmaster 3 User Manual

Page 37

background image

Description

Submission command option

Specifies the kind of command you are entering:

Shell, Shake,

Maya,

or other command, depending on the application you want

to use for distributed processing.

-command

Specifies the command with XML code. Enter the XML code after

-options

, with the necessary qualifiers for entering it in a shell.

See

Example of Shake Command XML

, next, for an example.

If no

-option

is entered, the values from the application’s

preferences file, in ~/Library/Preferences/, are used (which are the
values of the most recent job submitted).

-options

Use to specify the working directory path (from which the command
should be executed). The default working directory is
/Applications/Shake.

-wd

Use to specify the number of seconds before Apple Qmaster can
quit when looking for a cluster. The default value is 0, which puts
no limit on the timeout and allows Apple Qmaster to browse the
network for as long as it needs to find the cluster.

-timeout

Shows the ID information for the cluster specified with

-clustername

or

-clusterid

, or for all clusters if no cluster is

specified.

-show

Displays information about supported options for

Apple Qmaster

.

-help

Example of Shake Command XML

The code below is an example of XML code for submitting a Shake command.

/Applications/Apple\ Qmaster.app/Contents/MacOS/Apple\ Qmaster -clustername

elvis -command "Shake" -options "

executable="/Applications/Shake/shake.app/Contents/MacOS/shake"

script="/Volumes/Data/scripts/applestyle.shk" start="1" end="1000"

stepsOf="1" minCount="10" otherOptions="" previewNode="" previewWidth="0"

shutterOn="yes" motion="yes" proxyFlags="0" proxyScale="1.000000"

proxyRatio="1000.000000" shutter="1.000000">"

Note: Apple Qmaster stores the XML code for the last command you entered in
~Library/Preferences/com.apple.AppleQmaster.plist. You can copy the command in XML
form there, and customize it to use for a new job submission.

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/.

37

Chapter 1

Using Apple Qmaster 3