POST /jobs/<sessionid>/<jobname>/commit

Send a one-off command to gaffer using a job configuration. Commited jobs aren’t supervised, they will run until they die but won’t be restarted. You can pass to the command a different environment and the graceful timeout. It return the ID of the process launched.

Parameters

None

Example of request

POST http://localhost:5000/jobs/test/dummy/commit

{
    "env": {},
    "graceful_timeout": 0
}

Response

{
    "pid": 10
}

resources informations

Authentication Require an admin
HTTP Method GET