Reputation: 25
Is there anyway to automatically trigger a notebook to be executed once a cluster starts?
Upvotes: 1
Views: 857
Reputation: 626
You can try using jobs cluster and dynamically attach your notebooks, which will trigger the notebook once the cluster comes up. https://docs.databricks.com/workflows/jobs/jobs.html#create-a-job
If you see the above pic, you could attach your notebook and choose the type as 'notebook' and when ever the cluster comes up, it will automatically deploy your notebook and start its execution.
Upvotes: 2