Skip to content

Test: verify earnings collection scheduler and startup trigger #9

@GeiserX

Description

@GeiserX

Context

CashPilot collects earnings on a configurable interval (default: 3600s) using APScheduler, and also triggers a collection run immediately on container startup.

Task

  1. Verify the scheduler is configured with the correct interval from CASHPILOT_COLLECTION_INTERVAL
  2. Verify the startup trigger fires a collection run
  3. Verify collection results are stored in the database
  4. Mock collector HTTP calls to avoid hitting real APIs

Reference

  • app/main.py — scheduler setup, startup collection
  • app/collectors/ — collector implementations
  • app/database.py — earnings storage

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions