Hello, You have to look at the problem from a slightly different point of view.
The filters or specifiers 1st, ... 6th simply say that if the current day of the year falls on the Nth week of a particular month then the Job will run, otherwise, that particular run directive will be disregarded. A week is defined as Monday through Sunday. This is an arbitrary definition that is fixed in Bacula. That is 1st applies to any day that falls in the 1st week of a month. Note: not all weeks have a Monday or a Tuesday or any other day (see below for a month that has only Sunday in the first week). The 1st week may only be a Sunday if the first day of a given month is on Sunday. In that case the following day (Monday) will be in the 2nd week of the month. With that logic, it turns out that it is possible to have a month that has at least one day in each of 6 separate weeks. Take as an example a 31 day month where the first day of the month falls on a Sunday. In that case, the 30th and 31st days of the month will fall on Monday and Tuesday in the 6th week of that month thus the need for 6th. Best regards, Kern On 9/28/20 2:31 PM, djosip+n...@linuxpages.net wrote:
Hello, Somewhere with Bacula 7, a "6th" week was introduced for Job Scheduler. I couldn't find the definition of the 6th week in the documentation and I can only assume that it is meant to be used to target the first few days of the month which can occur before the "1st" week of the month. Could someone clarify the "6th" week keyword? I would also like to know the exact definition of the 5th week of the month as the Bacula documentation defines week like this: "A week starts with Monday and ends with Sunday.". If the 5th week of the month covers the rest of the days after the "4th" week of the month, the documentation should be fixed and the definition of the week should be replaced with: "The first week starts with Monday and ends with Sunday." Regards!
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users