using System;
namespace Fluent.Task.Test
{
public class Program
{
static void Main(string[] args)
{
var taskScheduler = TaskScheduler.Instance().Start();
Schedule
.Instance(ShowNow)
.SetDateTime(DayOfWeek.Monday, hour: 8)
.SetStartImmediately()
.SetParameter("test parameter")
.RunLoop(taskScheduler);
Console.ReadKey();
}
private static void ShowNow(object parameter)
{
Console.WriteLine($"Now is {DateTime.Now} {parameter}");
}
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
License
dn32/Fluent.Task
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published