Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

File Transfer jobs are technically shell jobs that execute the YADE command line interface (CLI). Therefore the job script looks like this:

Code Block
languagebash
titleYADE Client Job Script example
linenumberstrue
#!/bin/sh

$JS7_YADE_BIN \
  -profile $YADE_PROFILE \
  -file_path $YADE_FILE_PATH

...

The YADE Client allows a number of additional command line arguments to be specified:

Code Block
languagebash
titleYADE Client Job Script Parameterization example
linenumberstrue
#!/bin/sh

# Any environment variables assigned the job are automatically applied if used by the YADE profile

$JS7_YADE_BIN \
  -settings $JS7_YADE_CONFIG_DIR/yade.xml \
  -profile $YADE_PROFILE \
  -java-options "-Xmx32m" \
  -log-level debug

...