A small library for cron like execution
Install-Package Fluxter.CronDaemon
or
dotnet add package Fluxter.CronDaemon
var daemon = new CronDaemon();
daemon.AddJob("* * * * * *", () =>
{
// Do Work
// This gets executed every minute.
});
daemon.Start();
namespace Application
{
using Fluxter.CronDaemon;
internal class Program
{
private static void Main(string[] args)
{
var daemon = new CronDaemon();
daemon.AddJob("* * * * * *", () =>
{
// Do Work
// This gets executed every minute.
});
daemon.Start();
}
}
}