abortJob

Back to index

Summary

Aborts a running job.
jobId
Stringrequired
The primary key of the job, or the name of the job.
force
Booleanoptional
Instructs certain API calls to continue, even though doing to might have consequences. For example, if true, for abortJob, alwaysRun steps will be aborted as well; for import, existing objects will be replaced. If true, setDatabaseConfiguration will store the configuration even if it can't be validated.
reason
Stringoptional
User-supplied string.

Usage

Perl

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

ectool

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

Examples

Perl

$cmdr->abortJob(4fa765dd-73f1-11e3-b67e-b0a420524153, {force => 1});

ectool

ectool abortJob 4fa765dd-73f1-11e3-b67e-b0a420524153 --force 1