Back to index
Summary
Waits until the specified job reaches a given status or the timeout expires. This command is only supported with ec-perl.
jobIdStringrequiredThe job to wait for. include::partial$job-id.adoc[] timeoutIntegeroptionalThe number of seconds to wait before giving up on a request. The default is 60 seconds. finalStatusStringoptionalThe status to wait for. Must be either running or completed (the default is completed ). |
Usage
Perl
$cmdr->waitForJob( "test-jobId" # jobId # optionals );
ectool
ectool waitForJob \ "test-jobId" `# jobId` \ # optionals