Skip to content

Add @nestjs/schedule and configure a cron module for analytics #545

Description

@phertyameen

Description

Add the @nestjs/schedule dependency and register ScheduleModule.forRoot() so subsequent rollup jobs can use @Cron() decorators.

Why this matters

None of the nightly rollup jobs below can run without a scheduling module being registered first.

Files to touch

  • backend/package.json
  • backend/src/analytics/analytics.module.ts

Acceptance Criteria

  • @nestjs/schedule added to backend/package.json
  • ScheduleModule registered without breaking existing module bootstrap

Notes

This issue is part of the new analytics module effort (tracking, aggregation,
and reporting on player/game activity). Please keep new code inside
backend/src/analytics/ following the same module/controller/service/provider
layout used by existing modules (e.g. progress, streak, quests).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions