Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
Erwan KOFFI edited this page Jun 11, 2018 · 1 revision

Run job

This task allows you to run an existing job on Data Fabric.

The task can be launched with the command gradle runJob.

Configuration

The configuration job allows to run multiple jobs at once.

Configuration object

Once your saagie object is available on your project with the server correctly set up, you need to fill the jobs list with ids of the ones to be run.

saagie {
    server {...}

    jobs {[
            {
                id = <job_id>
                idFile = <file_name>
            }
        ]}
}

You can start any type of job on the platform.

Properties explanation

  • id (mandatory)

    • The job id on Data Fabric to start. If provided, will override idFile's id.
    • type: int
    • default: 0
  • idFile

    • This property allow you to run the job which id is into the provided file. The complete path has to be provided and write rights on file and directory must be granted. If id property is set it will override this value.
    • type: string
    • default:

Examples

Starting one job

saagie {
    server {...}

    jobs {[
            {
                id = 666
            }
        ]}
}

Starting multiples jobs

saagie {
    server {...}

    jobs {[
            {
                idFile = './jobFile.id'
            },
            {
                id = 666
            }
        ]}
}

Clone this wiki locally