Step 3: Checking on the Status of Your Job
After having deployed the job, we now can use the CLI for the interaction with the network. The jobs were sent to the public demo network, where it was processed and we can call the following functions. The job_id
will differ for every submission.
You can find out more information about your job by using bacalhau job describe
.
Let's take a look at the results of the command execution in the terminal:
This outputs all information about the job, including stdout, stderr, where the job was scheduled, and so on.
Job Results Download
After the job runs, if it produces any output, the output will be stored according to the publisher setting for your job. You can download your job results directly by using bacalhau job get
.
Depending on selected publisher, this may result in:
After the download has finished you should see the following contents in the results directory.
Each of these files contain the following information:
exitCode
- the numeric exit code after your job ran (just like if you ran looked at the exit code on your local machine)outputs
- a directory of everything you wrote in the job (if using LocalPublisher).stderr
- the output of the standard error stream of the job.stdout
- the output of the standard out stream of the job.
And that's it! If you'd like to go to the next level, you can create your own Bacalhau network - it's super easy too!
Here are few resources that provide a deeper dive into running jobs with Bacalhau:
How Bacalhau works, Creating your Private Network, Examples & Use Cases
Last updated