All product workers
Swarm scheduler
swarmmm-scheduler
Cron coordinator: provisioning repair, content topics, Aimediarank authority sweeps.
Runs 08:00 and 14:00 UTC. Enqueues content generation, geo-research (when tenant BYOK + schedule), and monthly geo-reports. Mirrors Pages scheduled fleet logic.
Source
- Path
- apps/swarmmm-scheduler
- Entry
- src/index.ts
- Config
- wrangler.toml
Bindings (summary)
- DB (D1)
- SWARM_PROVISIONING_SECRET
- crons: 0 8 * * *, 0 14 * * *
- producers: content, geo-research, geo-reports
Set real IDs, buckets, and secrets in the Cloudflare dashboard or via wrangler secret put to match this repo’s wrangler file.
Commands
cd apps/swarmmm-scheduler && npm run dev
cd apps/swarmmm-scheduler && npm run deploy