Dominic at Fri, 30 Jan 2009 04:59:38 +0100
I guess 0-12 is done to allow the value 0-11. The index starts as 0. In the code.c (line 163 and following, ftp://metalab.unc.edu/pub/Linux/system/daemons/cron/cron3.0pl1.tar.gz) is written: /* make...
View ArticleJakob at Fri, 30 Jan 2009 06:43:39 +0100
Thanks for the hint. Unfortunately I am still not quite sure about this. Because if the month field is really zero based in the crontab file it would only be defined as a range of numbers between 0-11...
View ArticleRobin Mehner at Fri, 30 Jan 2009 11:59:05 +0100
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...
View ArticleJakob at Sat, 31 Jan 2009 00:07:13 +0100
@Robin: I got the information from the vixiecron manpage(5). I am starting to think this could possibly just a documentation error. I have decided to ignore the problem for now and just support values...
View ArticleEliot Pearson at Sat, 31 Jan 2009 13:53:37 +0100
I checked the manpage on my system and it had a range of 1-12. So I pretty sure it's a typo. Which distro are you using? month 1-12 (or names, see below)
View ArticleJakob at Sat, 31 Jan 2009 18:42:15 +0100
Thanks for looking this up. :) I am using gentoo on all of my systems and there it clearly states the following: field allowed values ----- -------------- minute 0-59 hour 0-23 day of month 1-31 month...
View Article