feat(core): introduce scheduling functionality and enhance core package#75
Merged
feat(core): introduce scheduling functionality and enhance core package#75
Conversation
Member
vinayak25
commented
Apr 18, 2025
- Added scheduling capabilities with the new Schedule class and related decorators.
- Implemented ScheduleServiceTest for handling scheduled tasks.
- Updated package.json to include new schedule module and dependencies.
- Enhanced IntentExplorer to support schedule lookups.
- Introduced console commands for listing scheduled tasks.
- Improved error handling for duplicate schedules and class-based schedules without a handle method.
- Updated various components to integrate with the new scheduling system.
- Added scheduling capabilities with the new Schedule class and related decorators. - Implemented ScheduleServiceTest for handling scheduled tasks. - Updated package.json to include new schedule module and dependencies. - Enhanced IntentExplorer to support schedule lookups. - Introduced console commands for listing scheduled tasks. - Improved error handling for duplicate schedules and class-based schedules without a handle method. - Updated various components to integrate with the new scheduling system.
…ment - Introduced ScheduleFrequency class to manage cron expressions and scheduling intervals. - Updated Schedule class to utilize ScheduleFrequency for defining scheduling options. - Enhanced scheduling methods to support more granular timing options, including hourly, daily, and custom intervals. - Removed deprecated ScheduleRun class to streamline scheduling logic. - Added support for pinging URLs before and after scheduled tasks, along with success and failure callbacks. - Improved error handling and logging within the scheduling process.
… email notifications - Introduced new methods for appending output to files and sending email notifications based on task results. - Updated Schedule class to support shell command execution and improved error handling. - Refactored ScheduleOptions to include output file options for better flexibility. - Commented out previous scheduling commands in the sample app for clarity. - Removed unused imports in ScheduleServiceTest to streamline the code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.