Skip to content

chore: add sensible cron schedule defaults to config#19

Merged
kronosapiens merged 1 commit intomainfrom
kronosapiens/cron-config
Feb 5, 2026
Merged

chore: add sensible cron schedule defaults to config#19
kronosapiens merged 1 commit intomainfrom
kronosapiens/cron-config

Conversation

@kronosapiens
Copy link
Collaborator

Replace empty cron schedule strings with production defaults (decay check on the 1st of each month, content pipeline and ohayo on Mondays).

Makes all cron schedules configurable via environment variables while providing sensible defaults. Updates ohayo.ts to use config instead of hardcoded schedule for consistency. Removes cron schedules from .env.example since they now have defaults.

  • Decay check: 1st of each month at midnight UTC
  • Content pipeline: Mondays at noon UTC
  • Ohayo greeting: Mondays at noon UTC

Replace empty cron schedule strings with production defaults (decay check on the 1st of each month, content pipeline and ohayo on Mondays). Make ohayo.ts use config instead of hardcoded schedule for consistency. Remove cron schedules from .env.example since they now have defaults.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@kronosapiens kronosapiens merged commit abece75 into main Feb 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant