how to set retry attempt and how to set email alert with error message of databricks notebook

Siddhesh2525
New Contributor III

how to set retry attempt in the data bricks notebook in term of like if any cmd /cell get fails that times that particular cmd/cell should be rerun for purpose of connection issue etc.