Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hamedstack/hamedstack.quartz

A powerful C# library built on top of Quartz.NET for efficient and flexible job scheduling, making it easy to manage and automate tasks in your applications.
https://github.com/hamedstack/hamedstack.quartz

csharp csharp-library dotnet dotnet-core dotnetcore extension-methods extensions quartz quartz-net quartz-scheduler quartznet quartzscheduler utilities utility utility-library

Last synced: about 1 month ago
JSON representation

A powerful C# library built on top of Quartz.NET for efficient and flexible job scheduling, making it easy to manage and automate tasks in your applications.

Awesome Lists containing this project

README

        

![citrine](https://user-images.githubusercontent.com/8418700/140724725-a454e74c-c54a-472b-b4c8-1aa8af2115c7.png)

```cs
class Program
{
async static Task Main(string[] args)
{

await QuartzScheduler.Enqueue(() => Console.WriteLine(DateTime.Now), true);

await QuartzScheduler.Enqueue(x => Console.WriteLine(x.Address + " " + DateTime.Now), true);

await QuartzScheduler.Delay(() => Console.WriteLine(DateTime.Now), TimeSpan.FromSeconds(3), true);

await QuartzScheduler.Delay(x => Console.WriteLine(x.Address + " " + DateTime.Now), TimeSpan.FromSeconds(5), true);

await QuartzScheduler.Schedule(() => Console.WriteLine(DateTime.Now), TimeSpan.FromSeconds(7), TimeSpan.FromSeconds(1), true);

await QuartzScheduler.Schedule(() => Console.WriteLine(DateTime.Now), 7, 1);

await QuartzScheduler.Schedule(() => Console.WriteLine(DateTime.Now), "0 0/5 * * * ?");

await QuartzScheduler.Schedule(() => Console.WriteLine("With TriggerBuilder"),
builder => builder.StartNow()
.WithSimpleSchedule(x => x
.WithIntervalInSeconds(10)
.RepeatForever()));
}
}
```


Icons made by Freepik from www.flaticon.com