RaminelsLibrary.ScheduledService
1.0.0
See the version list below for details.
dotnet add package RaminelsLibrary.ScheduledService --version 1.0.0
NuGet\Install-Package RaminelsLibrary.ScheduledService -Version 1.0.0
<PackageReference Include="RaminelsLibrary.ScheduledService" Version="1.0.0" />
<PackageVersion Include="RaminelsLibrary.ScheduledService" Version="1.0.0" />
<PackageReference Include="RaminelsLibrary.ScheduledService" />
paket add RaminelsLibrary.ScheduledService --version 1.0.0
#r "nuget: RaminelsLibrary.ScheduledService, 1.0.0"
#:package RaminelsLibrary.ScheduledService@1.0.0
#addin nuget:?package=RaminelsLibrary.ScheduledService&version=1.0.0
#tool nuget:?package=RaminelsLibrary.ScheduledService&version=1.0.0
Schedule Class The Schedule class is used to define the schedule for a job. It includes properties to specify the type of schedule, the time, the days of the week, and the day of the month. Properties • ScheduleType Type: The type of schedule (Daily, Weekly, BiWeekly, Monthly, Now). • TimeOnly Time: The time of day when the job should run. • IList<DayOfWeek> Days: The days of the week when the job should run (used for Weekly and BiWeekly schedules). • int DayOfMonth: The day of the month when the job should run (used for Monthly schedules). • DateTime TimeStarted: The time when the schedule was created. • string Info: A read-only property that provides a description of the schedule.
Scheduling Class The Scheduling class provides static methods to create Quartz triggers based on the Schedule object. Methods • private static ITrigger ScheduleJob(Schedule schedule, CancellationToken cancellationToken): Creates a trigger based on the schedule type. • private static ITrigger DailyTrigger(TimeOnly time): Creates a daily trigger. • private static ITrigger WeeklyTrigger(TimeOnly time, IList<DayOfWeek> days): Creates a weekly trigger. • private static ITrigger BiWeeklyTrigger(TimeOnly time, IList<DayOfWeek> days): Creates a bi-weekly trigger. • private static ITrigger MonthlyTrigger(TimeOnly time, int dayOfMonth): Creates a monthly trigger. • private static ITrigger StartNow(): Creates a trigger that starts immediately.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Quartz (>= 3.14.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.