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:ย 

hi ryan is it possible to know pause the databricks job using databricks api without Databricks UI

adi45565465
New Contributor III
 
3 REPLIES 3

Ryan_Chynoweth
Esteemed Contributor

Yes, in your jobs settings there is a field called "pause_status" where you can set it to "UNPAUSED" or "PAUSED".

"schedule": {
      "quartz_cron_expression": "0 15 22 * * ?",
      "timezone_id": "America/Los_Angeles",
      "pause_status": "UNPAUSED"
    }

You can see this in our Jobs 2.0 API here with the Reset endpoint which overwrites all settings for a job.

adi45565465
New Contributor III

actually i have tried it but my data jobs still remained unchanged

 

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