croncpp
croncpp copied to clipboard
Specify the Nth day of the month not working
I've been trying to use croncpp for scheduling, however when I try to do something monthly (ie: Only run on the 2nd friday) croncpp seems to only do weekly.
I've looked in croncpp.h and couldn't see it parsing the '#' character nor handling anything else regarding days_of_week besides ranges.
I tried adding to the test_standard.cpp:
check_next("0 30 23 ? * 5#2", "2011-04-30 23:30:00", "2011-05-13 23:30:00");

Also noticed that this seems to be handling 5 as thursday instead of friday.