You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: