Submit a Workbench job. See https://docs.rstudio.com/job-launcher/latest/index.html for more information.
launcherSubmitJob(
name,
cluster = "Local",
tags = NULL,
command = NULL,
exe = NULL,
args = NULL,
environment = NULL,
stdin = NULL,
stdoutFile = NULL,
stderrFile = NULL,
workingDirectory = NULL,
host = NULL,
container = NULL,
exposedPorts = NULL,
mounts = NULL,
placementConstraints = NULL,
resourceLimits = NULL,
queues = NULL,
config = NULL,
user = Sys.getenv("USER"),
applyConfigSettings = TRUE
)
A descriptive name to assign to the job.
The name of the cluster this job should be submitted to.
A set of user-defined tags, used for searching and querying jobs.
The command to run within the job. This is executed via the system shell. Only one of command or exe should be specified.
The (fully pathed) executable to run within the job. Only one of
command
or exe
should be specified.
An array of arguments to pass to the command / executable.
A list of environment variables to be set for processes launched with this job.
Data to be written to stdin when the job process is launched.
The file used for the job's generated standard output. Not all launcher plugins support this parameter.
The file used for the job's generated standard error. Not all launcher plugins support this parameter.
The working directory to be used by the command / executable associated with this job.
The host that the job is running on, or the desired host during job submission.
The container to be used for launched jobs.
The ports that are exposed by services running on a container. Only applicable to systems that support containers.
A list of mount points. See
launcherHostMount()
and
launcherNfsMount()
for more information.
A list of placement constraints. See
launcherPlacementConstraint()
for more information.
A list of resource limits. See
launcherResourceLimit()
for more
information.
A list of available submission queues for the cluster. Only applicable to batch systems like LSF.
A list of cluster-specific configuration options. See
launcherConfig()
for more information.
The user-name of the job owner.
Apply server-configured mounts, exposedPorts, and environment, in addition to any specified in this call.
Other job-launcher functionality:
launcherAvailable()
,
launcherConfig()
,
launcherContainer()
,
launcherControlJob()
,
launcherGetInfo()
,
launcherGetJobs()
,
launcherGetJob()
,
launcherHostMount()
,
launcherNfsMount()
,
launcherPlacementConstraint()
,
launcherResourceLimit()
,
launcherSubmitR()