This rule: 0 11 1-7 * 1 is supposed to be execetuded every first monday of every month.
However this does not get honored, and it gets executed every monday...
Any suggestion?

Comments

gotheric’s picture

Status: Active » Closed (works as designed)

Hi,
the rule you are using executes the job on the first 7 days of the month OR in every monday of the month.

For an help and some examples of the cron syntax look at "Click for help and cron rules and script syntax" section in Elysia Cron settings page:

A job is executed when the time/date specification fields all match the current time and date. There is one exception: if both "day of month" and "day of week" are restricted (not "*"), then either the "day of month" field (3) or the "day of week" field (5) must match the current day (even though the other of the two fields need not match the current day).
...
Examples
...
0 12 1 */2 1: Execute job every 2 month, at 12:00 of first day of the month OR at every monday.
...

This is the standard crontab behaviour:
http://en.wikipedia.org/wiki/Cron