-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapps.yml
More file actions
54 lines (49 loc) · 2.38 KB
/
Copy pathapps.yml
File metadata and controls
54 lines (49 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# =============================================================================
# App Automator — your schedule lives here.
# =============================================================================
#
# Each entry under `apps:` describes ONE Databricks App and when it should be
# running. The reconcile job wakes up periodically and makes reality match
# this file: if an app should be running now but is stopped, it starts it;
# if it should be stopped but is running, it stops it.
#
# Fields per app:
# name (required) The app's name, exactly as shown in
# `databricks apps list` (the "Name" column). NOT the URL.
# start (required) Time of day to turn the app ON, "HH:MM" 24-hour.
# stop (required) Time of day to turn the app OFF, "HH:MM" 24-hour.
# timezone (optional) IANA timezone for this app's times.
# Defaults to `settings.default_timezone` below. e.g.
# "America/New_York", "America/Los_Angeles", "Europe/London".
# days (optional) Days the app should run. List of 3-letter days:
# [mon, tue, wed, thu, fri, sat, sun]. Defaults to Mon–Fri.
# On days NOT listed, the app is kept stopped all day.
# enabled (optional) Set to false to make the automator ignore this app
# entirely (it won't be started or stopped). Defaults to true.
#
# Overnight windows work: if `stop` is earlier than `start` (e.g. start 22:00,
# stop 06:00) the app is treated as running through midnight.
#
# Anything not listed here is never touched — apps you don't manage are safe.
# -----------------------------------------------------------------------------
settings:
# Timezone used for any app that doesn't specify its own.
default_timezone: "America/New_York"
apps:
# ---- Examples — replace these with your own apps. ----
# Business-hours app: start 8am, stop 7pm, weekdays only, Eastern time.
- name: my-dashboard-app
start: "08:00"
stop: "19:00"
days: [mon, tue, wed, thu, fri]
# A second app in a different timezone, running 7 days a week.
- name: my-west-coast-app
start: "09:30"
stop: "18:00"
timezone: "America/Los_Angeles"
days: [mon, tue, wed, thu, fri, sat, sun]
# Overnight batch UI: start at 10pm, stop at 6am the next morning.
- name: my-overnight-app
start: "22:00"
stop: "06:00"
enabled: false # flip to true to activate