Versions Compared

    Key

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

    Job Parents

    Qube! allows parent/child relationships between jobs. This does not imply dependency. With proper use of callbacks, it can be used to set up complex abstract dependencies, without the use of process groups. Qube! allows the user to specify the parent ID by either the API or the command line.

    ...

    Suppose you want to link up two or more jobs so that that one finishes, the next one will run. Qube! provides two approaches to methods for performing this task:

    1. --waitfor option in qbsub
    2. job callbacks with API

    ...

    % qbsub --name jobB --dependency link-complete-job-220 sleep 60

    Process Groups

    Qube! process groups are created upon job submission. Jobs are associated in the same process group by either submitting them all in the same qb::submit API call, or they may be connected by specifying the "pid" number for the job during submission.

    ...

    For developers who prefer to use qube Qube! as a remote procedure mechanism for executing commands and waiting for them to complete before continuing with the execution of their scripts/tools, the qbsub command allows a user to submit a job and expect qbsub to wait until the job completes, fails or is killed. This is very easily done by using the --waiton option.

    ...