Create an API that schedules and executes recurring tasks.
This challenge is tech-agnostic. Choose your preferred programming language, framework, database, ORM, message queue, and caching solution. For middle level, you can use advanced features like caching.
- Schedule tasks at specific times or intervals
- Execute tasks asynchronously
- Manage scheduled task lifecycle
-
Environment Setup:
- Programming language and web framework
- Database and ORM
- Task scheduler
- Message queue system
- Caching solution
- Docker (recommended for containerization)
-
Implementation Details:
- Create endpoints to schedule tasks
- Implement task execution logic
- Handle task status and results
-
Testing:
- Schedule tasks and verify execution
- Add cron-like scheduling
- Implement task dependencies
By completing this challenge, you will understand task scheduling in applications.
Happy coding!