tags 606325 + confirmed pending thanks On 12/08/2010 01:51 PM, Ulrich Klauer wrote: > In the "EXAMPLE CRON FILE" section of crontab(5), there is this example: > # Run on every second Saturday of the month > 0 4 8-15 * * test $(date +\%u) -eq 6 && echo "2nd Saturday" > The range of days (8-15) in this example is one day too wide. In months > starting with a Saturday, the echo command will be executed both on the > 8th (the second Saturday, as desired) and on the 15th (the third > Saturday). The range should be corrected to "8-14". > > Also, when viewing crontab(5) with > man 5 crontab > the line above is actually shown like this: > 0 4 8-15 * * test $(date +u) -eq 6 && echo "2nd Saturday" > I.e. the percent sign and the backslash escaping it are missing. I suspect > the backslash has not been properly escaped itself in the manpage source.
I just committed a fix for both. Thanks for your report! Christian
signature.asc
Description: OpenPGP digital signature