WaitForJobToComplete {datarobot}R Documentation

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

## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  blueprints <- ListBlueprints(projectId)
  blueprint <- blueprints[[1]]
  jobId <- RequestNewModel(projectId, blueprint)
  WaitForJobToComplete(projectId, jobId)

## End(Not run)

[Package datarobot version 2.18.6 Index]