Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 03:05 AM - edited 07-24-2023 03:06 AM
It is not explicitly stated in the Docs but there is a "schedule" option in the payload for a query definition with the following structure:
schedule {
cron : 2 55 9 ? * 2
time : null
until : null
version : 2
interval : null
day_of_week : null
}
The best way of knowing the full structure of the query definition is to use the API to GET the query definition of an existing query that has the "schedule" enabled. https://docs.databricks.com/api/azure/workspace/queries/get
You should be able to recreate all the options via the API.