To access the dedicated dashboard for your job, click its name.
When deploying a job you can either schedule it or set it to a manual trigger. If you deploy a job with manual trigger then it won't run automatically, you will have to trigger it.
You can do this in one of two ways, either through the User Interface using the
Run Job button, or Programmatically using the Python SDK.
Once you Run your job, Your job will start getting executed and enter the Running state. At this point, the platform will create and launch a pod associated with the Job Run to execute the job. Upon successful completion of your job, the Job Run will transition to the Finished status. Simultaneously, the pod that was created to execute the job will be automatically released, along with the resources they utilised.
To trigger Job programmatically, you will need the Application FQN which is the Fully Qualified Name (FQN) of the job you want to run. You can obtain this information from the Job-specific dashboard of the Job you are interested in.
Now you can trigger the Job programmatically using the Python SDK
from servicefoundry import trigger_job # Trigger/Run a Job trigger_job( application_fqn="<application-fqn>", command="<Optional Command to Trigger the Job With>" # Overrides command defined in Job Spec )
Updated 2 days ago