beautypg.com

Example of compressor command xml, Shell commands for monitoring batches, Synopsis – Apple Qmaster 3 User Manual

Page 39

background image

Description

Submission command option

Specifies the location of the source file.

-jobpath

Specifies the location of the settings for the job.

-settingpath

Specifies the destination file URL for the job.

-destinationpath

Gives detailed information for a batch or a job.

-info

Use to specify the number of seconds before Compressor can quit
when looking for a cluster. The default value is 0, which puts no
limit on the timeout and allows Compressor 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 regarding the required parameters for the

Compressor

command.

-help

Example of Compressor Command XML

The code below is an example of XML code for submitting a Compressor command.
Notice that because it needs to be entered as one command line, every character after

-options

that isn’t alphanumeric must be preceded with a backslash (\).

./Compressor -clusterid tcp://127.0.0.1:51737 -batchname myBatch -jobpath

/Volumes/Source/ShortClips/NTSC24p.mov -settingpath

/Users/stomper10/Library/Application\ Support/Compressor/PhotoJPEG.setting

-destinationpath /Users/machinename/Movies/myDestinationFilename.mov.

This command has the following elements:

• Cluster address is tcp://127.0.0.1:51737.

• Batch name is myBatch.

• Job path is /Volumes/Source/ShortClips/NTSC24p.mov.

• Setting path is /Users/stomper10/Library/Application

Support/Compressor/PhotoJPEG.setting.

• Destination path is /Users/machinename/Movies.

Shell Commands for Monitoring Batches

You can use the Batch Monitor command,

Batch Monitor

, with a number of command-line

options for monitoring 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 monitoring batches. The

Batch Monitor

command

is located in /Applications/Utilities/Batch Monitor.app/Contents/MacOS/.

39

Chapter 1

Using Apple Qmaster 3