Databricks Apps - Auto Terminate Option

vamsi_simbus
Databricks Partner

Hi Everyone,

I’m exploring Databricks Apps and have two questions:

Is there a way to automatically terminate an app after a certain period of inactivity?
Does Databricks provide any scheduling mechanism for apps, similar to how Jobs can be scheduled?

Any guidance or best practices would be appreciated!

pradeep_singh
Honored Contributor III

Apps don’t have a native schedule ,they’re web applications intended to be available continuously.You will have to build an separate solution for that.

Thank You
Pradeep Singh - https://www.linkedin.com/in/dbxdev

View solution in original post

Sanjeeb2024
Valued Contributor

Hi @vamsi_simbus - One option you can explore to start and stop apps using Databricks API. Have a look on the below document link - https://docs.databricks.com/api/workspace/apps/stop

Sanjeeb Mohapatra

View solution in original post