cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
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
Honored Contributor III

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

 
Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.