domino logo
Tech Ecosystem
Get started with Python
Step 0: Orient yourself to DominoStep 1: Create a projectStep 2: Configure your projectStep 3: Start a workspaceStep 4: Get your files and dataStep 5: Develop your modelStep 6: Clean up WorkspacesStep 7: Deploy your model
Get started with R
Step 0: Orient yourself to Domino (R Tutorial)Step 1: Create a projectStep 2: Configure your projectStep 3: Start a workspaceStep 4: Get your files and dataStep 5: Develop your modelStep 6: Clean up WorkspacesStep 7: Deploy your model
Get Started with MATLAB
Step 1: Orient yourself to DominoStep 2: Create a Domino ProjectStep 3: Configure Your Domino ProjectStep 4: Start a MATLAB WorkspaceStep 5: Fetch and Save Your DataStep 6: Develop Your ModelStep 7: Clean Up Your Workspace
Step 8: Deploy Your Model
Scheduled JobsLaunchers
Step 9: Working with Domino Datasets
Domino Reference
Projects
Projects OverviewProjects PortfolioProject Goals in Domino 4+Jira Integration in DominoUpload Files to Domino using your BrowserCopy ProjectsFork and Merge ProjectsSearchSharing and CollaborationCommentsDomino File SystemCompare File Revisions
Revert Projects and Files
Revert a FileRevert a Project
Archive a Project
Advanced Project Settings
Project DependenciesProject TagsRename a ProjectSet up your Project to Ignore FilesUpload files larger than 550MBExporting Files as a Python or R PackageTransfer Project Ownership
Domino Runs
JobsDiagnostic Statistics with dominostats.jsonNotificationsResultsRun Comparison
Advanced Options for Domino Runs
Run StatesDomino Environment VariablesEnvironment Variables for Secure Credential StorageUse Apache Airflow with Domino
Scheduled Jobs
Domino Workspaces
WorkspacesUse Git in Your WorkspaceUse Visual Studio Code in Domino WorkspacesPersist RStudio PreferencesAccess Multiple Hosted Applications in one Workspace Session
Spark on Domino
On-Demand Spark
On-Demand Spark OverviewValidated Spark VersionConfigure PrerequisitesWork with your ClusterManage DependenciesWork with Data
External Hadoop and Spark
Hadoop and Spark OverviewConnect to a Cloudera CDH5 cluster from DominoConnect to a Hortonworks cluster from DominoConnect to a MapR cluster from DominoConnect to an Amazon EMR cluster from DominoRun Local Spark on a Domino ExecutorUse PySpark in Jupyter WorkspacesKerberos Authentication
On-Demand Ray
On-Demand Ray OverviewValidated Ray VersionConfigure PrerequisitesWork with your ClusterManage DependenciesWork with Data
Customize the Domino Software Environment
Environment ManagementDomino Standard EnvironmentsInstall Packages and DependenciesAdd Workspace IDEs
Partner Environments for Domino
Use MATLAB as a WorkspaceCreate a SAS Data Science Workspace EnvironmentNVIDIA NGC Containers
Advanced Options for Domino Software Environment
Install Custom Packages in Domino with Git IntegrationAdd Custom DNS Servers to Your Domino EnvironmentConfigure a Compute Environment to User Private Cran/Conda/PyPi MirrorsScala notebooksUse TensorBoard in Jupyter Workspaces
Publish your Work
Publish a Model API
Model Publishing OverviewModel Invocation SettingsModel Access and CollaborationModel Deployment ConfigurationPromote Projects to ProductionExport Model Image
Publish a Web Application
App Publishing OverviewGet Started with DashGet Started with ShinyGet Started with FlaskContent Security Policies for Web Apps
Advanced Web Application Settings in Domino
App Scaling and PerformanceHost HTML Pages from DominoHow to Get the Domino Username of an App Viewer
Launchers
Launchers OverviewAdvanced Launcher Editor
Assets Portfolio Overview
Connect to your Data
Data in Domino
Datasets OverviewDatasets Best Practices
Data Sources Overview
Connect to Data Sources
External Data Volumes
Git and Domino
Git Repositories in DominoWork From a Commit ID in Git
Work with Data Best Practices
Work with Big Data in DominoWork with Lots of FilesMove Data Over a Network
Advanced User Configuration Settings
User API KeysDomino TokenOrganizations Overview
Use the Domino Command Line Interface (CLI)
Install the Domino Command Line (CLI)Domino CLI ReferenceDownload Files with the CLIForce-Restore a Local ProjectMove a Project Between Domino DeploymentsUse the Domino CLI Behind a Proxy
Browser Support
Get Help with Domino
Additional ResourcesGet Domino VersionContact Domino Technical SupportSupport Bundles
domino logo
About Domino
Domino Data LabKnowledge BaseData Science BlogTraining
User Guide
>
Domino Reference
>
Domino Runs
>
Jobs

Jobs

Jobs are a type of Domino Run where an executor machine is assigned to execute a specified command in its OS shell. You can use Jobs to run Python, R, or Bash scripts from your Project.

Each Job keeps a snapshot of all your files, including any results the code creates or modifies. This includes charts, tables, data files, and serialized model data. All assets are versioned and can be compared across different Jobs. See Domino service filesystem to learn more about the filesystem environment your Jobs will run in.

When you start a Job, Domino launches a new environment for your code on the target executor. You can start multiple concurrent Jobs. Each gets its own container environment, so you can try multiple parameters and techniques in parallel. You can schedule recurring Jobs and set up notifications, including customized reports.

Supported file types

The following lists the supported file types and the commands that Domino executes when it runs the file type:

LanguageFiletype/KeywordInvocation

Python

py

python -u

R

r

R --no-save --no-environ --no-site-file --no-restore --max-ppsize=100000

Spark

--spark

python /spark-submit-wrapper.py

Markdown

rmd/rhtml

R -e require('knitr'); knit('file_name')

Bash

sh

bash file_name

Matlab

m

matlab_executable_name

Perl

pl

perl file_name

Julia

jl

julia file_name

Python notebook

ipynb

ipython nbconvert -to notebook --execute file_name --output file_name

Fsharp

fsx

fsharpi file_name

Sas

sas/wp

run_sas.sh file_name

Start a job in Domino

There are many ways to start Jobs in Domino.

Start a job from the dashboard

  1. From the navigation pane, click Jobs. The Jobs dashboard shows all Jobs from the history of your project, sorted into tabs by Job status.

  2. Click Run to start a new Job.

  3. In the Start Run window, configure the Job. Enter the File Name of the script you want Domino to execute, followed by any arguments for the script. Screen Shot 2019 02 14 at 12.33.23 PM

Project files page

You can start a Job directly from the project Files page.

  1. Go the file you want to run and click the gear icon at the end of the row in the files list, then click Run.

  2. Use the window to configure the Run. This window has additional options to set up recurring scheduled Jobs and select different hardware tiers.

    Title

    In this field, enter a name for the Job. This name will be the label for the Job in the Jobs dashboard.

    Parameters

    If there are any arguments or parameters you’d like to pass to your script, enter them here.

    Hardware tier

    This dropdown list lets you set the hardware tier used by the Job.

    Schedule to repeat

    In this section, specify if you want the run to execute only once, or to repeat on a schedule.

    Publish after complete

    Check this if you want Domino to republish a Model API once the Job completes successfully.

Domino CLI

From your workstation, you can start Jobs through the Domino CLI . Follow these instructions to install the CLI on your system.

After you have logged in and opened a project, you can start Jobs with:

domino run <filename>

Examples domino run calculateStats.r domino run runModel.m model1 .05 domino run --wait runModel.m model1 .05 domino run --direct "pip freeze | grep pandas"

Scheduled job

Use Domino to schedule Jobs in advance, and set them to execute on a regular schedule. These can be useful when you have a data source that is updated regularly.

Launchers

A Launcher is a web form that rests on top of a script that Domino can execute in a Job. You can use a Launcher to pass arguments to your script from UI fields in a customized web form.

API

You can use the Domino API to start a Job with a POST request to:

https://<domino-url>/v1/projects/<username>/<project-name>/runs

For more information about how to send valid configuration data, read the API docs.

Quick Action menu

You can launch a Job from a Quick Action menu on the nav bar. Click the icon adjacent to Jobs.

job quick launch

Manage jobs with the Jobs dashboard

Click Jobs from the Project menu to open the Jobs dashboard. A table lists all Jobs from the history of this Project, sorted into tabs by queued, running, completed, and archived state. You can use the Jobs dashboard to find, manage, and view results from your Jobs in the following ways:

View Job details and results

Click a row in the Jobs dashboard table to see a panel with details on the listed Job. You can filter the table by Job title with the Search box.

+ Screen Shot 2019 02 14 at 12.54.56 PM

Important

Domino retains up to 15 days worth of run usage details. This applies to all Runs and includes Jobs, Workspace sessions, and web apps.

Tag jobs

You can tag an individual job by clicking + under the Job title in the details panel.

Screen Shot 2019 02 14 at 1.02.02 PM

You can also bulk tag Jobs by checking them in the table and then clicking Bulk Tag.

Screen Shot 2019 02 14 at 1.04.07 PM

Archive jobs

You can archive Jobs by checking them in the table and clicking Bulk Archive.

Screen Shot 2019 02 14 at 1.15.29 PM

Stop jobs

You can find currently running Jobs on the Running tab, and stop them by checking them and clicking Bulk Stop.

Screen Shot 2019 02 14 at 1.19.17 PM

Compare jobs

You can create a Jobs comparison report by checking exactly two Jobs in the table, then clicking Compare.

Screen Shot 2019 02 14 at 1.24.11 PM

Customize your Jobs dashboard columns

Click the funnel icon above the table of Jobs to customize which columns are shown in the Jobs dashboard. If any Jobs in your project have produced Run diagnostic statistics, the keys from dominostats.json will become available as columns, allowing you to quickly compare these outputs.

Screen Shot 2019 02 14 at 1.31.02 PM

Domino Data LabKnowledge BaseData Science BlogTraining
Copyright © 2022 Domino Data Lab. All rights reserved.