Template Render Script
In order to submit a job, you need both a submit script and render script.
A template render script can be created quickly via:
rush -trs > render-script
Here's a sample template render script:
Template Render Script
|
#!/bin/csh -f
##############################
# R E N D E R S C R I P T #
##############################
# Source your render environment as needed
source $RUSH_DIR/etc/.render
echo "--- Working on frame $RUSH_FRAME - `date`"
### YOUR RENDER COMMAND(S) HERE
time sleep 10
set err = $status
# Rush exit codes: 0=DONE 1=FAIL 2=RETRY
if ( $err ) then
echo --- FAIL; exit 1
else
echo --- DONE; exit 0
endif
#NOTREACHED#
|
|
|