modifyJob

Back to index

Summary

Modifies the status of an externally managed job.
jobId
Stringrequired
The primary key of the job, or the name of the job.
status
Stringoptional
The starting status for the job.
Possible values: "pending", "runnable", "scheduled", "running", "completed"

Usage

Perl

$cmdr->modifyJob( "test-jobId" # jobId # optionals );

ectool

ectool modifyJob \ "test-jobId" `# jobId` \ # optionals

Examples

Perl

$cmdr->modifyJob("4fa765dd-73f1-11e3-b67e-b0a420524153", {status => "running"});

ectool

ectool modifyJob 4fa765dd-73f1-11e3-b67e-b0a420524153 --status "running"