fovus job status

fovus job status

Get a job’s status.

Either –job-id or –job-directory is required.

Usage

fovus job status [OPTIONS]

Options

--job-id <job_id>

The ID of the job whose status will be retrieved.

--job-directory <job_directory>

The directory of the job whose status will be fetched. The job directory must be initialized by the Fovus CLI.

--wait

Check the job status every 60 seconds until the job finishes with one of the following statuses:

Completed, Failed, Terminated, Walltime Reached, Uncompleted, Infrastructure Terminated, Terminate Failed, Post Processing Walltime Reached, Post Processing Failed, License Timeout

Once the job completes, the latest job status will be returned.

--exit-on-non-complete

This option is useful for building a simple workflow with Fovus CLI. When enabled, exit with a non-zero status code if the job status is not Completed.

Effectively, subsequent commands will not be executed.