Cron
Bugfender-cron is a background service that acts as the "maintenance worker" for the Bugfender platform. It handles four main categories of automated tasks:
Data Housekeeping
- Manages log uploads to S3
- Handles API session cleanup
- Maintains database indices
User & Billing Management
- Handles user account states (e.g., disabling inactive free users)
- Processes billing-related notifications
- Manages subscription quotas
Platform Updates
- Keeps device model databases current (iOS/Android)
- Updates geolocation data weekly
- Maintains system statistics
Notifications
- Sends various automated emails (billing, renewals, reminders)
- Alerts about system issues
- Delivers usage statistics
The service runs these tasks on different schedules (from every 5 minutes to weekly) and includes safeguards to ensure only one instance runs at a time, preventing task duplication