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

 

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now