Sign in Sign up
nuget

Schedulr

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" } }

nuget View on Nuget

Activity

Latest release
5y ago
Total releases
13
Cadence
~daily
Last 12 months
0

Details

First release
Feb 05, 2020
Releases
Version Released
1.5.1 patch
1.5.0 minor
1.4.0 minor
1.3.1 patch
1.3.0 minor
1.2.1.3 patch
1.2.1.2 patch
1.2.1.1 patch
1.2.1 patch
1.2.0.4 patch
1.2.0.3 patch
1.2.0.2 patch
1.2.0.1 initial