Executing code at various intervals is a common need when building enterprise systems. The following options are available for scheduling:
- A PeriodicTimer. See the PeriodicTimer sample.
- A .NET Timer.
- NServiceBus sagas
- Quartz.NET. See the Quartz.NET sample.
- OS task scheduler, like the Windows task scheduler or Linux cron jobs.
- Timer trigger for Azure Functions
- Hangfire. See the Hangfire sample.