Home

boring / v2

publicBoring-Software-Inc/v2
Overview Code History Branches Pull requestsIssuesInsights Campfire Docs
main
HomeOverview Code PRsIssues

feat(economics): manual cron trigger script

3 months ago

06ebb59
Authored
grim7/23/2026, 2:23:33 AM
apps/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

2 files changed
  • apps/worker/src/economics-trigger.ts+102−0
  • package.json+2−0