crontab: Sunday=7, not 0.
Haral Tsitsivas
haral at ttidcb.UUCP
Wed Oct 23 11:55:18 AEST 1985
In article <187 at l5.uucp> gnu at l5.uucp (John Gilmore) writes:
>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.
Sunday is 0 on my system (still 4.1 BSD, sigh).
More information about the Comp.unix
mailing list