InMemory Scheduler
Important Warning
What is the InMemory Scheduler?
Architecture
When to Use InMemory Scheduler
Recommended Use Cases
Limited Production Scenarios
Configuration
Basic Configuration
Environment-Specific Configuration
Configuration with Custom Timer Provider
NuGet Package
Code Examples
Basic Scheduling
Scheduling with Absolute Time
Cancelling a Scheduled Job
Testing with InMemory Scheduler
Comparison with Production Schedulers
Feature
InMemory
Quartz.NET
Hangfire
AWS Scheduler
Azure Service Bus
Best Practices
1. Use for Testing Only
2. Document Production Limitations
3. Keep Delays Short
4. Test Scheduler Behavior
5. Don't Rely on It for Critical Work
Migration to Production Scheduler
Before (Development):
After (Production with Hangfire):
After (Production with Quartz):
Troubleshooting
Scheduled Jobs Not Executing
Scheduled Jobs Lost After Restart
Memory Usage Growing
Related Documentation
Summary
Last updated
Was this helpful?
