IMPORTANT : For now I am assuming that I am the only user of this lib, so contracts are changing without any notice or backward compatibility. If you are intersting in using this lib, let me know.
Main goal is to provide in-proc scheduling facility. Originally designed to run in ASP.NET application, but probably in future this will expand to other types of hosts.
- Run any code on simple interval based schedule
- Allows to force executing work
- Gather some statistics and provide it with simple UI
- More statistics, I believe this is key when you run background tasks
- Other then interval schedules. Single execution
- More reliable during worker process restart
- Better work management, now it's quite supid and just limits to 40 workers
- Distributed coordinator
- TPL to run jobs
- WCF Web API to build REST like API
- CoffeeScript to code UI, jQuery, Bootstrap from Twitter
- NUnit for testing
var scheduler = new Scheduler();
scheduler.Schedule("Foo", () =>
{
Console.WriteLine("Foo is now working");
}, TimeSpan.FromMinutes(3));
scheduler.Start();
[TBD]
Instead of
ProcessingScheduler.Init(scheduler);
Use
InlineSchedulerWebHost.Init(scheduler);
Licensed under the MIT