Kern Sibbald wrote: > On Thursday 03 August 2006 13:25, Alan Brown wrote: >> On Wed, 2 Aug 2006, Erik P. Olsen wrote: >> >>>> Schedule { >>>> Name = "EveryOtherTuesday" >>>> Run = Level=Full tue w00,w02,w04,w06,w08,w10,w12(etc to >>>> week 52) at 22:00 >>>> } >>> Some years have 53 weeks! >> Every year has part of a 53rd week. >> >> A Calendar year is 52 weeks and one day - or 52 weeks and 2 days on a leap >> year. >> >> Put another way, it's 13 lunar (4 week) months and one/two days >> >> The 1 day fuzz isn't going to matter - and if it does, just end >> with w52,w53 > > If I remember right, Bacula uses the ISO week number definition standard, > which has only 52 weeks, so w53 is probably not valid. However, if I am not > mistaken, the w00 is not ISO, and I put that in to cover the days before the > first official ISO week -- i.e. the last part at the end of the year (or the > first part before the beginning of the year). >
No, look at Jan 1st 2005, that day falls in week 53 of year 2004 according to ISO standard because it was a Saturday and hence the Tursday of that week fell in 2004. w53 is indeed valid at least in the ISO standard. If Dec 31st is not a Sunday w52 or w53 will stretch into the following year. Is it so that w00 then is defined as the part of w52 or w53 which falls before Jan 1st? -- Erik P. Olsen, Civilingeniør, MSc Solsortvej 30, DK-2000 Frederiksberg, Denmark Phone: +45 38346480, Fax: +45 38346470, Mobil: +45 40765300 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users