Schedulr 1.5.1
dotnet add package Schedulr --version 1.5.1
NuGet\Install-Package Schedulr -Version 1.5.1
<PackageReference Include="Schedulr" Version="1.5.1" />
paket add Schedulr --version 1.5.1
#r "nuget: Schedulr, 1.5.1"
// Install Schedulr as a Cake Addin #addin nuget:?package=Schedulr&version=1.5.1 // Install Schedulr as a Cake Tool #tool nuget:?package=Schedulr&version=1.5.1
Schedule your jobs using cron expressions.
-just update your schedulrsettings.json as what you want.
-use like below lines in your Program.cs
SchedulrManager.Build("My Service");
SchedulrManager.Add(() =>
{
Console.WriteLine("Foo");
});
SchedulrManager.Add(MyMethod);
SchedulrManager.Add(new MyJob());
SchedulrManager.Start();
-for install as a windows service run "applicationname.exe install"
-if you want to use File log for Serilog just use "Install-Package Serilog.Sinks.File" and add this below line to schedulrsettings.json.
{
"Name": "File",
"Args": {
"path": ".\\Logs\\.txt",
"rollingInterval": "Day",
"retainedFileCountLimit": null,
"outputTemplate": "[{Level:u3}] {Timestamp} | {SourceContext} | {Application}-{Environment} ({AssemblyVersion}) | {MachineName}{NewLine}{Message:lj}{NewLine}{Exception}"
}
},
-if you want to use Seq for Serilog just use "Install-Package Serilog.Sinks.Seq" and add this below line to schedulrsettings.json.
{
"Name": "Seq",
"Args": { "serverUrl": "http://localhost:5341" }
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.1
- Autofac (>= 6.1.0)
- Autofac.Extras.Quartz (>= 6.0.1)
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- Quartz (>= 3.2.3)
- Serilog.Enrichers.AssemblyName (>= 1.0.9)
- Serilog.Enrichers.Environment (>= 2.1.3)
- Serilog.Exceptions (>= 6.0.0)
- Serilog.Settings.AppSettings (>= 2.2.2)
- Serilog.Settings.Configuration (>= 3.1.0)
- Serilog.Sinks.Console (>= 3.1.1)
- Topshelf (>= 4.3.0)
- Topshelf.Serilog (>= 4.3.0)
-
.NETFramework 4.6.2
- Autofac (>= 6.1.0)
- Autofac.Extras.Quartz (>= 6.0.1)
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- Quartz (>= 3.2.3)
- Serilog.Enrichers.AssemblyName (>= 1.0.9)
- Serilog.Enrichers.Environment (>= 2.1.3)
- Serilog.Exceptions (>= 6.0.0)
- Serilog.Settings.AppSettings (>= 2.2.2)
- Serilog.Settings.Configuration (>= 3.1.0)
- Serilog.Sinks.Console (>= 3.1.1)
- Topshelf (>= 4.3.0)
- Topshelf.Serilog (>= 4.3.0)
-
.NETFramework 4.7
- Autofac (>= 6.1.0)
- Autofac.Extras.Quartz (>= 6.0.1)
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- Quartz (>= 3.2.3)
- Serilog.Enrichers.AssemblyName (>= 1.0.9)
- Serilog.Enrichers.Environment (>= 2.1.3)
- Serilog.Exceptions (>= 6.0.0)
- Serilog.Settings.AppSettings (>= 2.2.2)
- Serilog.Settings.Configuration (>= 3.1.0)
- Serilog.Sinks.Console (>= 3.1.1)
- Topshelf (>= 4.3.0)
- Topshelf.Serilog (>= 4.3.0)
-
.NETFramework 4.7.1
- Autofac (>= 6.1.0)
- Autofac.Extras.Quartz (>= 6.0.1)
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- Quartz (>= 3.2.3)
- Serilog.Enrichers.AssemblyName (>= 1.0.9)
- Serilog.Enrichers.Environment (>= 2.1.3)
- Serilog.Exceptions (>= 6.0.0)
- Serilog.Settings.AppSettings (>= 2.2.2)
- Serilog.Settings.Configuration (>= 3.1.0)
- Serilog.Sinks.Console (>= 3.1.1)
- Topshelf (>= 4.3.0)
- Topshelf.Serilog (>= 4.3.0)
-
.NETFramework 4.7.2
- Autofac (>= 6.1.0)
- Autofac.Extras.Quartz (>= 6.0.1)
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- Quartz (>= 3.2.3)
- Serilog.Enrichers.AssemblyName (>= 1.0.9)
- Serilog.Enrichers.Environment (>= 2.1.3)
- Serilog.Exceptions (>= 6.0.0)
- Serilog.Settings.AppSettings (>= 2.2.2)
- Serilog.Settings.Configuration (>= 3.1.0)
- Serilog.Sinks.Console (>= 3.1.1)
- Topshelf (>= 4.3.0)
- Topshelf.Serilog (>= 4.3.0)
-
.NETFramework 4.8
- Autofac (>= 6.1.0)
- Autofac.Extras.Quartz (>= 6.0.1)
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- Quartz (>= 3.2.3)
- Serilog.Enrichers.AssemblyName (>= 1.0.9)
- Serilog.Enrichers.Environment (>= 2.1.3)
- Serilog.Exceptions (>= 6.0.0)
- Serilog.Settings.AppSettings (>= 2.2.2)
- Serilog.Settings.Configuration (>= 3.1.0)
- Serilog.Sinks.Console (>= 3.1.1)
- Topshelf (>= 4.3.0)
- Topshelf.Serilog (>= 4.3.0)
-
.NETStandard 2.0
- Autofac (>= 6.1.0)
- Autofac.Extras.Quartz (>= 6.0.1)
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- Quartz (>= 3.2.3)
- Serilog.Enrichers.AssemblyName (>= 1.0.9)
- Serilog.Enrichers.Environment (>= 2.1.3)
- Serilog.Exceptions (>= 6.0.0)
- Serilog.Settings.AppSettings (>= 2.2.2)
- Serilog.Settings.Configuration (>= 3.1.0)
- Serilog.Sinks.Console (>= 3.1.1)
- Topshelf (>= 4.3.0)
- Topshelf.Serilog (>= 4.3.0)
-
.NETStandard 2.1
- Autofac (>= 6.1.0)
- Autofac.Extras.Quartz (>= 6.0.1)
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- Quartz (>= 3.2.3)
- Serilog.Enrichers.AssemblyName (>= 1.0.9)
- Serilog.Enrichers.Environment (>= 2.1.3)
- Serilog.Exceptions (>= 6.0.0)
- Serilog.Settings.AppSettings (>= 2.2.2)
- Serilog.Settings.Configuration (>= 3.1.0)
- Serilog.Sinks.Console (>= 3.1.1)
- Topshelf (>= 4.3.0)
- Topshelf.Serilog (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.5.1 | 3,522 | 1/4/2021 |
1.5.0 | 992 | 1/1/2021 |
1.4.0 | 1,054 | 7/24/2020 |
1.3.1 | 1,032 | 3/10/2020 |
1.3.0 | 983 | 2/10/2020 |
1.2.1.3 | 944 | 2/10/2020 |
1.2.1.2 | 961 | 2/10/2020 |
1.2.1.1 | 968 | 2/6/2020 |
1.2.1 | 995 | 2/6/2020 |
1.2.0.4 | 956 | 2/5/2020 |
1.2.0.3 | 889 | 2/5/2020 |
1.2.0.2 | 965 | 2/5/2020 |
1.2.0.1 | 1,104 | 2/5/2020 |