CronDaemon

Small .NET package with simple generic implementation of cron scheduling based on ncrontab and System.Threading.Timer.


Keywords
cron, scheduling
License
MIT
Install
Install-Package CronDaemon -Version 0.5.0

Documentation

Build Status Build status NuGet Version NuGet Downloads

CronDaemon

Small .NET package with simple generic implementation of cron scheduling based on ncrontab and System.Threading.Tasks.

Sample code

var crond = CronDaemon.Start<string>(
  value => {
    Console.WriteLine(value);
  });

crond.Add("Print hi hourly", Cron.Hourly());
crond.Add("Print hi daily 5 times", Cron.Daily(), 5);
crond.Add("Print hi at 9AM UTC daily.  The cron expression is always evaluated in UTC", "0 9 * * *")