3 months ago
06ebb59apps/worker/src/economics-trigger.ts runs the pull/rollup/digest jobs (or all) in-process against the configured DB, so the crons can be fired on demand after the migration + backfill land or to re-roll a past day. Supports --day and a --dry-run that prints the digest instead of posting to Discord. Root scripts econ (local) and econ:prod (--env-file=.env.production).
Parent568c807