JayG30
Contributor
- Joined
- Jun 26, 2013
- Messages
- 158
I'm altering my scrub/SMART/replication/rsync schedules and looking for some clarification on this.
I want my Scrub to run once a month, but I want to have more control over the day of the week it runs on to make sure it doesn't conflict with other things. So I'm thinking I'd like to to run on the first Saturday on each month. I think I have it right but the "threshold days" makes my brain hurt when I try visualize it.
So here is what I'm thinking:
My thought process is as follows;
The first Saturday of a month HAS to fall within the days 01-07.
Threshold days needs to change to 28 instead of 35 because there are months without 5 full weeks, which would result in the following Saturday falling before the threshold hit 35 days and the scrub being skipped.As an example, with this schedule it would run on November 4th 2017 and you would expect the next run on December 2nd 2017, however because November only has 30 days it will only be 28 days when Dec 2nd comes around.
However, I'm not sure in that situation I pointed out if the scrub would actually run or if it would STILL consider that "within" the threshold.
Any help is appreciated, Thanks.
I want my Scrub to run once a month, but I want to have more control over the day of the week it runs on to make sure it doesn't conflict with other things. So I'm thinking I'd like to to run on the first Saturday on each month. I think I have it right but the "threshold days" makes my brain hurt when I try visualize it.
So here is what I'm thinking:
Threshold days: 28
Minute: 00 (each selected minute tab)
Hour: 02 (each selected hour tab)
Day of Month: 01, 02, 03, 04, 05, 06, 07 (Each selected day of month)
Month: ALL
Day of week: Saturday
My thought process is as follows;
The first Saturday of a month HAS to fall within the days 01-07.
Threshold days needs to change to 28 instead of 35 because there are months without 5 full weeks, which would result in the following Saturday falling before the threshold hit 35 days and the scrub being skipped.As an example, with this schedule it would run on November 4th 2017 and you would expect the next run on December 2nd 2017, however because November only has 30 days it will only be 28 days when Dec 2nd comes around.
However, I'm not sure in that situation I pointed out if the scrub would actually run or if it would STILL consider that "within" the threshold.
Any help is appreciated, Thanks.