You are viewing an old version of this page. View the current version.

    Compare with Current View Page History

    « Previous Version 5 Current »

    Synopsis

    The template path is used to specify where the Worker should look to find the libraries/files associated with the jobs it will run.

    worker_template_path = path

    Specifies the template path for this Worker. Multiple paths are delimited by colons on OS X / Linux and semi-colons on Windows.

    Icon

    Several important things to take note of are:

    • On Windows, you must use UNC and the path separator is a forward slash "/".
    • This worker_template_path should always contain the location of the local jobtypes (the default worker_template_path value).
    • Compiled jobtypes such as the cmdline and cmdrange are installed locally by the Worker and should not be centrally located, which necessitates the default template path being included in the new value. This ensures that any updates in future releases of the Worker are present in the Worker's available jobtypes.

    Examples

    Windows

    worker_template_path="C:/Program Files/pfx/qube//types;C:/Program Files/pfx/jobtypes;C:/Program Files (x86)/pfx/jobtypes;//server/share/qube/ourJobTypes"

    Mac OS X

    worker_template_path='/Applications/pfx/qube/types:/Applications/pfx/jobtypes:/mnt/nfsPath/jobtypes'

    Linux

    worker_template_path='/usr/local/pfx/qube/types:/usr/local/pfx/jobtypes:/mnt/nfsPath/jobtypes'

    Defaults

    • Linux & OS X:  $QBDIR/types
    • Windows:     %QBDIR%\types

    See Also

    Centralized Jobtypes

    • No labels