2 separate day maintenance window

HI all,

Is it posible to create a maintenance window that will run every month, and it will run every 3rd Wednesday and 3rd friday?

Thank in advance,
Braian

Yes, with relevance, you can basically define any criteria you want, including creating windows of time for things to run within.

Is this for servers, workstations, or both?

See this related example: https://bigfix.me/relevance/details/3003590

See this related post: Can An Action Be Scheduled Every 2 Weeks (Not 15 days)?


This is how you would cause something to only run on Wednesdays or Fridays:

exists (it as string) whose(it = "Friday" OR it = "Wednesday") of current day_of_week

https://bigfix.me/relevance/details/3003635

I would recommend using a different relevance statement to determine the number of the week.

Actually, this should be the relevance you are looking for:

exists ( ( (it + 14*day) of first wednesday of month_and_year of current date ) ; ( (it + 14*day) of first friday of month_and_year of current date ) ) whose( it = current date )

https://bigfix.me/relevance/details/3003634

Hi James,

Thanks for your prompt reply, What will be my action script?

Thanks,
Braian

I don’t know what you mean by “what will be my actionscript”

I provided the relevance needed to cause an action to only run on the 3rd wednesday or 3rd friday. You put this into any custom task you need, or into a baseline and add any components you wish to run.

Hi James,

What I mean is, the locking period is not included in the analysis right? I have tried 1 day maintenance period in maintenance windows dashboard and works fine, but there is no configuration for two day maintenance period like every 3rd Wednesday and 3rd Friday.

Thanks,
Braian

I’m not really sure what you are referring to. I don’t use locking at all. If I were to use a maintenance window it would be for deploying specific things like a baseline of patches or software installation.

If you added the following to a baseline, then it would only run on the 3rd Friday or 3rd Wednesday:

exists ( ( (it + 14*day) of first wednesday of month_and_year of current date ) ; ( (it + 14*day) of first friday of month_and_year of current date ) ) whose( it = current date )