This commit is contained in:
eddiesoehnel committed 2026-08-15 15:05:39 -06:00
1 parent eac3d5dc45
commit 2a2b00733b
83 files changed
+4840

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
# Scheduler
Host cron invokes the same Docker CLI used by an operator. The production crontab is installed only after deployment review.
Suggested v1 schedule:
```cron
*/15 * * * * cd /srv/email-list-system && docker compose run --rm email-list subscriber import /data/inbox/subscriber-operations.jsonl --json
*/15 * * * * cd /srv/email-list-system && docker compose run --rm email-list welcome run --json
15 * * * * cd /srv/email-list-system && docker compose run --rm email-list suppression reconcile --json
30 * * * * cd /srv/email-list-system && docker compose run --rm email-list campaign run-due-followups --campaign-dir /app/campaigns/sent --json
10 2 * * * cd /srv/email-list-system && docker compose run --rm email-list backup create --json
```
The initial subscriber import uses `--no-welcome`. `welcome run` fails closed while `templates/welcome.md` remains the explicit placeholder. The due-follow-up command fails closed if telemetry is unavailable, no matching campaign artifact is present, the original authorization is invalid, or the Postmark suppression check fails.