Rush Logo Rush Render Queue - Sample Render Script
V 103.07 05/28/15
(C) Copyright 2008, 2015 Seriss Corporation. All rights reserved.
(C) Copyright 1995,2000 Greg Ercolano. All rights reserved.

Strikeout text indicates features not yet implemented


   Template Render Script  

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#