Skip to content

Job Scripts

In Jobbergate, the primary resource is the Job Script. These scripts dictate the instructions for jobs intended to execute on the Slurm cluster. They can either be Python files or shell scripts. Jobbergate facilitates the generation, modification, and submission of these Job Scripts to the cluster.

Job Scripts can either be uploaded directly from a user's workstation or be derived by rendering the Job Script Templates.

Submission of Job Scripts to any affiliated Slurm cluster can be accomplished through the CLI, API, or Core integrations. After submission, the execution status of a Job Script can be monitored using the Job Submission resource.

Data Model

erDiagram
    JobScript {
        int id pk
        str name
        str description
        str owner_email
        int parent_template_id fk
        datetime created_at
        datetime updated_at
        bool is_archived
    }
    JobScriptFile {
        int parent_id pk,fk
        str filename pk
        enum[str] file_type
        datetime created_at
        datetime updated_at
    }
    JobScript ||--|{ JobScriptFile : ""