# Schedule Recipe — Compliance / CDD

## What to Schedule

**Skill:** `/sun:screening-triage` (the skill you built in Exercise 4.1)
**Schedule:** Daily at 8:00 AM
**Cron:** `0 8 * * 1-5`

## Input Source

**Option A (MCP):** Pull data from KYC via Jira MCP
```
Search KYC for CDD Check issues with status in [To Investigate, In Review]
```

**Option B (File drop):** Export from ComplyAdvantage → save to workspace folder as `alert-pile.csv`

## Output Destination

- Save report to: `~/cowork-workspace/compliance-cdd/reports/`
- Naming: `screening-triage-YYYY-MM-DD.docx`

## If It Fails

1. **MCP connection lost:** Fall back to Option B (manual file drop). Check `/sun:setup` to verify connectors.
2. **Empty data:** The skill should produce a "No items found" report, not crash. If it crashes, add a guard in the skill.
3. **Format changed:** If ComplyAdvantage changed its export format (new columns, renamed fields), update the skill's input description.

## How to Set Up

Run: `/sun:schedule`
- Task name: "screening-triage daily run"
- Prompt: "Run /sun:screening-triage against the latest alert-pile data"
- Schedule: Daily at 8:00 AM
