How athallahd/sec-reporter-id works
This is a local excerpt of Reporter’s Celery scheduler: Beat dispatches scheduled tasks, adapters invoke existing Django management commands, and failures propagate for Celery to report. It also includes a scheduled User UBID task that gathers member data and writes a table. The README documents the dashboard schedule and upstream command ownership, but those command implementations are outside this tree; the UBID excerpt is partial, so its data sources are shown only where supported.
Main entry points: user_ubid.py UBID Task · dashboard_daily_summary.py Dashboard Task · user_location.py Location Task · celeryconfig.py Beat Config
Components 9
Scheduling
- Beat Config
celeryconfig.py
Daily Adapters
- Dashboard Task
dashboard_daily_summary.py - Location Task
user_location.py
UBID Sync
- UBID Task
user_ubid.py
Other components
- Celery Beat
- Dashboard Command
- Location Sync Command
- Member Data Sources
- Django Database
Connections 8
- Beat Config → Celery Beat: configures schedules
- Celery Beat → Dashboard Task: dispatches
- Celery Beat → Location Task: dispatches
- Celery Beat → UBID Task: dispatches
- Dashboard Task → Dashboard Command: calls refresh_dashboard
- Location Task → Location Sync Command: calls sync_user_locations
- UBID Task → Member Data Sources: queries member data
- UBID Task → Django Database: truncates and inserts