15 lines
1.1 KiB
Markdown
15 lines
1.1 KiB
Markdown
# 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.
|