cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

I have a notebook in workspace, how to know in which job this particular notebook is referenced.

SS_RATH
New Contributor

I have a notebook in workspace, how to know in which job this particular notebook is referenced.

1 REPLY 1

Ayushi_Suthar
Honored Contributor
Honored Contributor

Hi @SS_RATH, Good Day! 

I want to inform you that there isn't a direct way to search for a job by the notebook it references. You will have to manually check each job to see which one is using the specific notebook you are interested in. 

You can follow these steps to find out the job which refers a specific notebook: 

1. Navigate to the Databricks workspace.
2. In the sidebar, click on 'Workflows'.
3. In the 'Jobs' tab, you will see a list of all the jobs.
4. Click on the name of each job to view its details.
5. In the 'Job UI page', look for the 'Notebook' section under 'Task options'. This section will show the path of the notebook that is being used by the job. 

https://docs.databricks.com/en/workflows/jobs/create-run-jobs.html

Or you can use the Job API to list out all the Jobs and it will give you the complete details about the Jobs present in your workspace. Please refer to this document for the same: https://docs.databricks.com/api/workspace/jobs/list

Please let me know if this helps and leave a like if this information is useful, followups are appreciated.
Kudos
Ayushi