Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/hamedstack/hamedstack.quartz
- Owner: HamedStack
- License: mit
- Created: 2023-09-21T15:54:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-30T18:10:37.000Z (about 1 year ago)
- Last Synced: 2024-04-28T06:34:53.801Z (8 months ago)
- Topics: csharp, csharp-library, dotnet, dotnet-core, dotnetcore, extension-methods, extensions, quartz, quartz-net, quartz-scheduler, quartznet, quartzscheduler, utilities, utility, utility-library
- Language: C#
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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()));
}
}
```