A demonstration project showcasing the implementation of background jobs and scheduled tasks using TickerQ in a .NET application.
TickerQExample is a sample implementation of background job processing using the TickerQ framework. It demonstrates how to schedule and manage both cron-based recurring tasks and time-based background jobs in an ASP.NET Core application.
- Cron-based scheduled tasks
- Time-based background jobs
- Database-backed job persistence
- Retry mechanisms for failed jobs
- Batch job processing capabilities
The project includes several example background jobs demonstrating different scheduling patterns:
-
ExampleMethod
- Runs every 5 minutes
- Simple logging demonstration
-
WithObject
- Example of a job with custom object parameters
- Shows how to pass complex data to background jobs
- .NET 9.0
- Run
TickerQExample.AspireHostproject
The project follows a standard ASP.NET Core structure with additional components for background job processing:
BackgroundJobs/: Contains background service implementationsData/: Includes database migrations and context