-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgoals.yaml
More file actions
56 lines (50 loc) · 1.61 KB
/
goals.yaml
File metadata and controls
56 lines (50 loc) · 1.61 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
55
56
# Dendrite Scheduled Goals Configuration
#
# Each goal runs on its own schedule. Supported schedule types:
# - interval: Run every N seconds
# - cron: Cron expression (minute hour day month weekday)
# - once: Run once on startup
#
# Goals can access state from previous runs via conditions.
goals:
# Example: Fun fact every 5 minutes
# - id: fun_facts
# goal: "Tell me a one-sentence fun fact I haven't heard before"
# schedule: interval
# interval: 15 # 15 seconds for demo
# enabled: true
# tags: [demo, fun]
# # Second goal for demo
# - id: weather_check
# goal: "What's a good activity for a sunny day?"
# schedule: interval
# interval: 25
# enabled: true
# tags: [demo]
# Example: Daily summary at 6pm
# - id: daily_summary
# goal: "Summarize what I accomplished today"
# schedule: cron
# cron: "0 18 * * *"
# enabled: true
# tags: [productivity]
# Example: Hourly Strava kudos check
- id: get_strava_kudos
goal: "Use strava_collect_kudos_givers with hours_back=48"
schedule: cron
cron: "0 */4 * * *" # Every 4 hours
enabled: true
max_failures: 3
tags: [strava, fitness]
# Reciprocate kudos to people who gave you kudos
- id: reciprocate_kudos
goal: "Use strava_reciprocate_kudos with count=30 and max_age_hours=24"
schedule: cron
cron: "29 * * * *" # Every 6 hours, offset by 30 min "30 */6 * * *"
enabled: true
max_failures: 3
tags: [strava, fitness]
# Global settings
settings:
check_interval: 5 # How often to check for due goals (seconds)
log_runs: true # Log each run to console