Hi Jakob,
I'm not an expert in C, but looking into the header files of vixie-cron (cron.h in this case) there are definitions for FIRST_MONTH (which is 1) and LAST_MONTH (which is 12).
Weekdays are also defined there, with 0 and 7 as borders.
I think that there is some kind of misleading manual which states this wrong. Where did you read this?
I found some site of another cron projekt which states that they try to handle to 0 as "January of next year", but unfortunately I can't find it anymore.
Hope this helps a litte bit.
↧