Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : 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" } }

Registry - JSON
purl: pkg:nuget/schedulr
Keywords: Topshelf, Quartz, Serilog, Autofac, Schedule, Schedulr, Scheduler, Job
License:
Latest release: over 3 years ago
First release: over 4 years ago
Downloads: 14,614 total
Last synced: 23 days ago

    Loading...
    Readme
    Loading...