TF

NETZOR: File Formats - Command script (JOB)

(1997R1 script file format.)


Main Page

Document index

Basics:
The JOB file format is an ascii file containing work dependancies, commands, and the final image to be saved. This file is used for basic job tasks in the network manager. Currently, only unix clients support this job type.

Reserved words:
The following words begin each information statement type,
use filename/filetemplate
A dependant file that is needed by the client.
range max frame
Range of frames to be done.
One required
command command script
Command to be executed.
One or more required
result localfile remotetemplate
File to be set back and stored.
One required
#
Comment field.

Templates:
File templates are variable names that change with each frame. A template counter is specified with a '*'. The template parser checks the number of digits and the starting count and then adds the current frame to it. Command Templates can have more than one template in them, and each template site will advance.

example*1.txt becomes example1.txt, example2.txt ... example100.txt
example*01.txt : example01.txt, example02.txt ... example100.txt
example*5080.txt : example5080.txt, example5081.txt ... example5179.txt

Command script:
Command script can be enclosed in single or double quotes, all sequence entries are expanded for each invocation:
"megazoot -e asite*001 -e bsite*001 -e csite*401 -o sequence*7911"
becomes
megazoot -e asite001 -e bsite001 -e csite401 -o sequence7911
megazoot -e asite002 -e bsite002 -e csite402 -o sequence7912
...
megazoot -e asite100 -e bsite100 -e csite500 -o sequence8010

Examples:
sample1.job

#
# generic job, does very little
#
range 100
command 'touch m'
result m /usr/tmp/m*0001
sample2.job
#
# more complex rendering
#
use testnet.art
use floor.bf
use square.bf
use amouth.tga
command 'artzor -f *1 testnet.art'
result image.tga /usr/tmp/image*001.tga


©1997 Twin Forces, Inc. All rights reserved.
Comments to woolstar@twinforces.com.
ÿ