crontab: Sunday=7, not 0.

John Gilmore gnu at l5.uucp
Wed Oct 9 15:10:45 AEST 1985


Shore at adobe.UUCP (Andrew Shore) wrote:
> By the way, the man page for cron(8) lies.  It says that the
> days are numbered 1-7 with 1=Monday.  The days are actually
> numbered 0-6 with 0=Sunday.

I tried it on my Sun and he is incorrect.  On a Sunday, I added two
entries, one for day 7 and one for day 0, at the same time (a few minutes
hence).  The one with day 7 ran, with day 0 didn't.  QED.



More information about the Comp.unix mailing list