Versions Compared

    Key

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

    The job archive is a file format used by Qube!'s tools both to store template information and to record a job's initial state. The Supervisor automatically creates an archive file when the job is submitted. These are stored in the job's job log directory (see Job Logs).

    However users are also allowed to create these files for use as templates for submitting similar jobs repeatedly. Some of the data recorded in the template archive files can then be overridden at submission time. The contents of a binary job archive file (suffix: .qja) can be viewed with the standard Qube! tools, while files in the XML format (suffix: .xja) can be examined in any standard text editor.

    Examples

    The command is archived to a file:
    % qbsub –export file.qja sleep 10

    ...

    CommandResult
    % qbsub --export file.qja sleep 10Archive the command to a job archive file
    % qbsub --export file.xja --xml sleep 10Archive the command to an XML file

    ...

    % qbsub

    ...

    --import file.

    ...

    qjaSubmit the file

    ...

    to the queue

    ...

    % qbsub

    ...

    --priority 10 --import file.qja

    Submit the file and

    ...

    change the priority

    ...

    %

    ...

    qbarchive --long file.qja

    View the contents of the job archive file

    ...