Skip to content

Add some schedules (minutes, hours, days, weeks, months), bind them to an action/method, then start the scheduler manager - the actions/methods will then get called when they are set to.

Notifications You must be signed in to change notification settings

UCChristianJones/SchedulerDotNetStandard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SchedulerDotNetStandard

a cross platform action scheduler.

How to use:

// Instantiate class with all of the schedule you would like to run
ScheduleManager scheduler = new ScheduleManager(
    new Minute(
        ActionToRun/*run this method when it's time*/, 
        TimeSpan.FromHours(22)/*start at 10pm*/, 
        TimeSpan.FromHours(24)/*finish at midnight*/, 
        1/*repeat every one minute*/, 
        DayOfWeek.Thursday/*on a thursday*/));

// now start the schedule manager - this starts processing in a different thread so you can do other stuff after this method
scheduler.Begin();

About

Add some schedules (minutes, hours, days, weeks, months), bind them to an action/method, then start the scheduler manager - the actions/methods will then get called when they are set to.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages