CodebyCR / TimedAction

An easy, state-of-the-art timing Framework.
MIT License
0 stars 0 forks source link

Add Blacklist Support #12

Open CodebyCR opened 1 year ago

CodebyCR commented 1 year ago

Add blacklist support for removing specific dates like holidays and so on.

CodebyCR commented 1 year ago

This feature should shrink the default ranges.

Example:

// ...

const auto weekend = BlackList{.weekday="SAT,SUN"};

scheduler.blackList(weekend);

// The Watch don't execute something at Saturday or Sunday

// Compact Warning for execution times in this range