Hi,
The page states:
If you want "first Monday of every month" you cannot express it in standard cron — you need Quartz's 2#1 syntax, or you have to add a wrapper script that exits unless date +%d is between 1 and 7.
This is not quite accurate. Debian's (ISC) cron can do this, although it's not documented. The trick is to combine a day-of-month range with step syntax in the day-of-week field, like
for "first Sunday of each month". If changed to
it means indeed "Every Sunday, plus the 1st to 7th day of each month".
Hi,
The page states:
This is not quite accurate. Debian's (ISC)
croncan do this, although it's not documented. The trick is to combine a day-of-month range with step syntax in the day-of-week field, likefor "first Sunday of each month". If changed to
it means indeed "Every Sunday, plus the 1st to 7th day of each month".