Changes the state of a background job.
jobSetState(
job,
state = c("idle", "running", "succeeded", "cancelled", "failed")
)
The ID of the job on which to change state.
The new job state.
The following states are supported:
The job is waiting to run.
The job is actively running.
The job has finished successfully.
The job was cancelled.
The job finished but did not succeed.
Other jobs:
jobAdd()
,
jobAddOutput()
,
jobAddProgress()
,
jobGetState()
,
jobList()
,
jobRemove()
,
jobRunScript()
,
jobSetProgress()
,
jobSetStatus()