package page→ /automations/events-collect-daily.md
pages/automations/events-collect-daily.md
13 lines, 658 B. As a page.
- ---
- type: Automation
- title: "Every day: collect events"
- icon: "⏰"
- trigger: {kind: clock, at: "{{fact:schedule.at}}", tz: "{{fact:schedule.tz}}"}
- reaction: {agent: /agents/events-collector.md, prompt: "Collect new events for the next 7 days by the brief."}
- limits: {perHour: 1, perDay: 1}
- mode: auto
- ---
- Every day at the set time, the schedule tick (`shtuk run schedule tick`) wakes the [event collector](/agents/events-collector.md). The run is written to the log [/runs](/runs.md).
- To change the time, use the fields `at` and `tz`. Twice a day: `trigger: {kind: schedule, cron: "0 7,19 * * *", tz: ...}` and `limits.perDay: 2`. To stop: `mode: manual`.