Learn R Programming

datarobot (version 2.18.6)

WaitForJobToComplete: Wait for specified job to complete

Description

Wait for specified job to complete

Usage

WaitForJobToComplete(project, jobId, maxWait = 600)

Arguments

project

character. Either (1) a character string giving the unique alphanumeric identifier for the project, or (2) a list containing the element projectId with this identifier.

jobId

integer identifier (returned for example by RequestPrimeModel)

maxWait

maximum time to wait (in seconds) for the job to complete

Examples

Run this code
if (FALSE) {
  projectId <- "59a5af20c80891534e3c2bde"
  blueprints <- ListBlueprints(projectId)
  blueprint <- blueprints[[1]]
  jobId <- RequestNewModel(projectId, blueprint)
  WaitForJobToComplete(projectId, jobId)
}

Run the code above in your browser using DataLab