cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

scheduling a job with multiple notebooks using common parameter

Rk2
New Contributor II

I have a practical use case​

three notebooks (pyspark ) all have on​e common parameter.

need to schedule all three notebooks in a sequence

is there any way to run them by setting one parameter value, as they are same in all.

please suggest the best way to do it.

1 ACCEPTED SOLUTION

Accepted Solutions

Hubert-Dudek
Esteemed Contributor III

@Ramesh Kotha​ , in notebook get parameter like that:

my_parameter = dbutils.widgets.get("my_parameter")

and set it in a task like that:

image.png

View solution in original post

2 REPLIES 2

Hubert-Dudek
Esteemed Contributor III

@Ramesh Kotha​ , in notebook get parameter like that:

my_parameter = dbutils.widgets.get("my_parameter")

and set it in a task like that:

image.png

Hi @Ramesh Kotha​ ,

Just a friendly follow-up. Did @Hubert Dudek​ response help you to resolve your questions/issue? Please let us know

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group