Skip to content

SirLefti/Schedule.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schedule

C# task scheduling for humans. Execute actions periodically using a friendly syntax. It is a port of the Java lib schedule.

  • chained syntax made for humans
  • built-in scheduler
  • no external dependencies

Usage

using Scheduling;

public class Example {

    public static void Main(string[] args) {
        Action action = () => Console.WriteLine("Hello World!");

        Schedule.Every(10).Seconds().Run(action);
		Schedule.Every().Hour().At(":30").Run(action);
		Schedule.Every().Monday().At("00:30").Run(action);

		Schedule.Once().Monday().At("08:00").Run(action);
    }
}

About

C# task scheduling for humans. Execute runnable tasks periodically using a friendly syntax.

Resources

License

Stars

Watchers

Forks

Languages