bb974ad1ce
- Updated the InitTEDScraper function to return a scheduler instance, allowing for better error handling during initialization. - Added error logging for failed scheduler initialization and job scheduling, improving robustness. - Implemented graceful shutdown for the scheduler in the main function, ensuring proper resource management during application termination.